Older auto-focus cameras sent out a pulse of sound and measured the time interval required for the pulse to reach an object, reflect off of it, and return to be detected. Can air temperature affect the camera's focus? New cameras use a more reliable infrared system.