struct in UnityEngine.XR
/
Implemented in:UnityEngine.XRModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseDefines a generic usage that maps to an input feature on a device. Use the As method to turn into a generic usage.
name | The string name of this usage feature; used internally to map to an input feature on a device. |
type | The type of this usage feature; used internally to map to an input feature on a device. |
As | Returns the generic version of this type for retrieving a feature value from a device. |