Defines static variables that are used to retrieve input features from XR.InputDevice.TryGetFeatureValue.
Use these static variables to retrieve common feature values by usage for an XR.InputDevice.
batteryLevel | Value representing the current battery life of this device. |
centerEyeAcceleration | The acceleration of the center eye on this device. |
centerEyeAngularAcceleration | The angular acceleration of the center eye on this device, formatted as euler angles. |
centerEyeAngularVelocity | The angular velocity of the center eye on this device, formatted as euler angles. |
centerEyePosition | The position of the center eye on this device. |
centerEyeRotation | The rotation of the center eye on this device. |
centerEyeVelocity | The velocity of the center eye on this device. |
colorCameraAcceleration | The acceleration of the color camera on this device. |
colorCameraAngularAcceleration | The angular acceleration of the color camera on this device, formatted as euler angles. |
colorCameraAngularVelocity | The angular velocity of the color camera on this device, formatted as euler angles. |
colorCameraPosition | The position of the color camera on this device. |
colorCameraRotation | The rotation of the color camera on this device. |
colorCameraVelocity | The velocity of the color camera on this device. |
deviceAcceleration | The acceleration of the device. |
deviceAngularAcceleration | The angular acceleration of this device, formatted as euler angles. |
deviceAngularVelocity | The angular velocity of this device, formatted as euler angles. |
devicePosition | The position of the device. |
deviceRotation | The rotation of this device. |
deviceVelocity | The velocity of the device. |
dPad | A non-handed 2D axis. |
eyesData | An Eyes struct containing eye tracking data collected from the device. |
grip | Represents the users grip on the controller. |
gripButton | A binary measure of whether the device is being gripped. |
handData | Value representing the hand data for this device. |
indexFinger | Represents the grip pressure or angle of the index finger. |
indexTouch | Represents a touch of the trigger or index finger. |
isTracked | Informs to the developer whether the device is currently being tracked. |
leftEyeAcceleration | The acceleration of the left eye on this device. |
leftEyeAngularAcceleration | The angular acceleration of the left eye on this device, formatted as euler angles. |
leftEyeAngularVelocity | The angular velocity of the left eye on this device, formatted as euler angles. |
leftEyePosition | The position of the left eye on this device. |
leftEyeRotation | The rotation of the left eye on this device. |
leftEyeVelocity | The velocity of the left eye on this device. |
menuButton | Represents a menu button, used to pause, go back, or otherwise exit gameplay. |
middleFinger | Represents the grip pressure or angle of the middle finger. |
pinkyFinger | Represents the grip pressure or angle of the pinky finger. |
primary2DAxis | The primary touchpad or joystick on a device. |
primary2DAxisClick | Represents the Primary 2D axis being clicked or otherwise depressed. |
primary2DAxisTouch | Represents the Primary 2D axis being touched. |
primaryButton | The primary face button being pressed on a device, or sole button if only one is available. |
primaryTouch | The primary face button being touched on a device. |
rightEyeAcceleration | The acceleration of the right eye on this device. |
rightEyeAngularAcceleration | The angular acceleration of the right eye on this device, formatted as euler angles. |
rightEyeAngularVelocity | The angular velocity of the right eye on this device, formatted as euler angles. |
rightEyePosition | The position of the right eye on this device. |
rightEyeRotation | The rotation of the right eye on this device. |
rightEyeVelocity | The velocity of the right eye on this device. |
ringFinger | Represents the grip pressure or angle of the ring finger. |
secondary2DAxis | A secondary touchpad or joystick on a device. |
secondaryButton | The secondary face button being pressed on a device. |
secondaryTouch | The secondary face button being touched on a device. |
thumbrest | Represents a thumbrest or light thumb touch. |
thumbTouch | Represents the thumb pressing any input or feature. |
trackingState | Represents the values being tracked for this device. |
trigger | A trigger-like control, pressed with the index finger. |
triggerButton | A binary measure of whether the index finger is activating the trigger. |