Unity's Input Manager for Windows Mixed Reality motion controllers supports the button and axis IDs listed below through the Input.GetButton/GetAxis APIs. You can find more information about the XR APIs here. Unity XR input APIsįor new projects, we recommend using the new XR input APIs from the beginning. The common Input.GetButton/Input.GetAxis APIs work across multiple Unity XR SDKs, while the InteractionManager/GestureRecognizer API specific to Windows Mixed Reality exposes the full set of spatial input data. ![]() ![]() Unity provides two primary ways to access spatial input data for Windows Mixed Reality. You access the data for both sources of spatial input through the same APIs in Unity. There are two key ways to take action on your gaze in Unity, hand gestures and motion controllers in HoloLens and Immersive HMD.
0 Comments
Leave a Reply. |