It is able to measure the time it takes for light to return from surrounding objects which is combined with video data to map a room. The actual environment can be digitalized and then data can be added to it.
Today there are only a limited number of devices available that can perceive a reasonably accurate image of space in this way such as the HoloLens and the Magic Leap.