Are you thinking of some active scanning technology such as LIDAR? Or the infrared grid-of-dots projection that the kinect uses?