Spatial capabilities
Spatial surface detection is done by the depth sensor in cooperation with the HPU. This means we have to access these. Now, accessing a processing unit is not a problem in UWP apps, but accessing sensors is. You cannot simply get data from the microphone, the webcam, and other sensors in UWP apps. The apps are running as a sandbox, meaning you cannot do much more than render on a screen and get input from a keyboard, mouse, and in our case, gestures. That is all. As we have seen in the chapters about voice, we need to ask the system for permission to use the microphone. The same goes for spatial mapping. We need to have consent from the user to use these devices. But, as you can imagine, a spatial mapping capability is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access