There have been Kinect sensors with true time of flight. The first Kinect used triangulation, but Microsoft switched to time-of-flight for later models.[1]
There are several ways to do this. At short ranges, they all work. Then it gets hard, because not much energy is coming back.
[1] https://arxiv.org/abs/1505.05459