The principle of a time-of-flight scanner involves the emission of a light pulse and the recording of the reflection time of this light pulse.
As the speed of light in air is known, the micro program of the device calculates the distance between the scanned surface and the scanner.
Time-of-flight scanners allow scanning over longer distances (up to 2 km) than phase-shift scanners (up to 80 meters).