I don't understand time-of-flight cameras - without flash, that is

Well I didn’t read the corresponding Wikipedia either. But the basic problem is that object reflect light all the time. If the technology depended on flashing light, you could calculate the spent time, but I don’t see flashing while 3d-modelling. I don’t even see how a flash light could reach objects hundreds of meters away.

TOF cameras emit a pulse of laser light (not “flash” light) and measure the time for it to return.

Ambient light does not interfere because the sensor on the camera is tuned to the wavelength of the laser light only.

TOF cameras basically work like very high-precision radar, except using a laser instead of radio (so lidar.) They are literally measuring the time that it takes for a laser pulse to fly to the object and bounce back.

Because lasers are highly-focused, (think of the tiny dot of a laser pointer) you can point it at different parts of the object to get different readings, eventually getting a relatively good map of the whole surface.

I know next to nothing about TOF cameras, but from reading the Wikipedia article, I gather that some cameras use lasers, while others use LEDs. These two technologies are used because they can be modulated at high speeds. They do not scan the target area point by point like a scanning LIDAR system, but illuminate the whole field of view (I guess there’s some kind of beam disperser for laser based cameras?). The illumination is often near infrared to make it less obtrusive but interference is avoided not by filtering the wavelength of the light, but by viewing the scene twice, once with the illumination turned off. Interference is possible if two TOF cameras are viewing the same scene at the same time.