# CommonUsages

> Defines static variables that are used to retrieve input features from XR.InputDevice.TryGetFeatureValue.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.XR](/engine/6000.7/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

```csharp
public static class CommonUsages
```

## Remarks

Use these static variables to retrieve common feature values by usage for an XR.InputDevice.

## Static Fields

| Value                                                                                                                           | Description                                                                                                                                                                                                                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [batteryLevel](/engine/6000.7/script-reference/unityengine/xr/commonusages/batterylevel.md)                                     | Value representing the current battery life of this device.                                                                                                                                                                                                                                                                                        |
| [centerEyeAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/centereyeacceleration.md)                   | The acceleration of the center eye on this device.                                                                                                                                                                                                                                                                                                 |
| [centerEyeAngularAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/centereyeangularacceleration.md)     | The angular acceleration of the center eye on this device, formatted as euler angles.                                                                                                                                                                                                                                                              |
| [centerEyeAngularVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/centereyeangularvelocity.md)             | The angular velocity of the center eye on this device, formatted as euler angles.                                                                                                                                                                                                                                                                  |
| [centerEyePosition](/engine/6000.7/script-reference/unityengine/xr/commonusages/centereyeposition.md)                           | The position of the center eye on this device.                                                                                                                                                                                                                                                                                                     |
| [centerEyeRotation](/engine/6000.7/script-reference/unityengine/xr/commonusages/centereyerotation.md)                           | The rotation of the center eye on this device.                                                                                                                                                                                                                                                                                                     |
| [centerEyeVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/centereyevelocity.md)                           | The velocity of the center eye on this device.                                                                                                                                                                                                                                                                                                     |
| [colorCameraAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/colorcameraacceleration.md)               | The acceleration of the color camera on this device.                                                                                                                                                                                                                                                                                               |
| [colorCameraAngularAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/colorcameraangularacceleration.md) | The angular acceleration of the color camera on this device, formatted as euler angles.                                                                                                                                                                                                                                                            |
| [colorCameraAngularVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/colorcameraangularvelocity.md)         | The angular velocity of the color camera on this device, formatted as euler angles.                                                                                                                                                                                                                                                                |
| [colorCameraPosition](/engine/6000.7/script-reference/unityengine/xr/commonusages/colorcameraposition.md)                       | The position of the color camera on this device.                                                                                                                                                                                                                                                                                                   |
| [colorCameraRotation](/engine/6000.7/script-reference/unityengine/xr/commonusages/colorcamerarotation.md)                       | The rotation of the color camera on this device.                                                                                                                                                                                                                                                                                                   |
| [colorCameraVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/colorcameravelocity.md)                       | The velocity of the color camera on this device.                                                                                                                                                                                                                                                                                                   |
| [deviceAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/deviceacceleration.md)                         | The acceleration of the device.                                                                                                                                                                                                                                                                                                                    |
| [deviceAngularAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/deviceangularacceleration.md)           | The angular acceleration of this device, formatted as euler angles.                                                                                                                                                                                                                                                                                |
| [deviceAngularVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/deviceangularvelocity.md)                   | The angular velocity of this device, formatted as euler angles.                                                                                                                                                                                                                                                                                    |
| [devicePosition](/engine/6000.7/script-reference/unityengine/xr/commonusages/deviceposition.md)                                 | The position of the device.                                                                                                                                                                                                                                                                                                                        |
| [deviceRotation](/engine/6000.7/script-reference/unityengine/xr/commonusages/devicerotation.md)                                 | The rotation of this device.                                                                                                                                                                                                                                                                                                                       |
| [deviceVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/devicevelocity.md)                                 | The velocity of the device.                                                                                                                                                                                                                                                                                                                        |
| [eyesData](/engine/6000.7/script-reference/unityengine/xr/commonusages/eyesdata.md)                                             | An Eyes struct containing eye tracking data collected from the device.                                                                                                                                                                                                                                                                             |
| [grip](/engine/6000.7/script-reference/unityengine/xr/commonusages/grip.md)                                                     | Represents the users grip on the controller.                                                                                                                                                                                                                                                                                                       |
| [gripButton](/engine/6000.7/script-reference/unityengine/xr/commonusages/gripbutton.md)                                         | A binary measure of whether the device is being gripped.                                                                                                                                                                                                                                                                                           |
| [handData](/engine/6000.7/script-reference/unityengine/xr/commonusages/handdata.md)                                             | Value representing the hand data for this device.                                                                                                                                                                                                                                                                                                  |
| [isTracked](/engine/6000.7/script-reference/unityengine/xr/commonusages/istracked.md)                                           | Informs to the developer whether the device is currently being tracked.                                                                                                                                                                                                                                                                            |
| [leftEyeAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/lefteyeacceleration.md)                       | The acceleration of the left eye on this device.                                                                                                                                                                                                                                                                                                   |
| [leftEyeAngularAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/lefteyeangularacceleration.md)         | The angular acceleration of the left eye on this device, formatted as euler angles.                                                                                                                                                                                                                                                                |
| [leftEyeAngularVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/lefteyeangularvelocity.md)                 | The angular velocity of the left eye on this device, formatted as euler angles.                                                                                                                                                                                                                                                                    |
| [leftEyePosition](/engine/6000.7/script-reference/unityengine/xr/commonusages/lefteyeposition.md)                               | The position of the left eye on this device.                                                                                                                                                                                                                                                                                                       |
| [leftEyeRotation](/engine/6000.7/script-reference/unityengine/xr/commonusages/lefteyerotation.md)                               | The rotation of the left eye on this device.                                                                                                                                                                                                                                                                                                       |
| [leftEyeVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/lefteyevelocity.md)                               | The velocity of the left eye on this device.                                                                                                                                                                                                                                                                                                       |
| [menuButton](/engine/6000.7/script-reference/unityengine/xr/commonusages/menubutton.md)                                         | Represents a menu button, used to pause, go back, or otherwise exit gameplay.                                                                                                                                                                                                                                                                      |
| [primary2DAxis](/engine/6000.7/script-reference/unityengine/xr/commonusages/primary2daxis.md)                                   | The primary touchpad or joystick on a device.                                                                                                                                                                                                                                                                                                      |
| [primary2DAxisClick](/engine/6000.7/script-reference/unityengine/xr/commonusages/primary2daxisclick.md)                         | Represents the primary 2D axis being clicked or otherwise depressed.                                                                                                                                                                                                                                                                               |
| [primary2DAxisTouch](/engine/6000.7/script-reference/unityengine/xr/commonusages/primary2daxistouch.md)                         | Represents the primary 2D axis being touched.                                                                                                                                                                                                                                                                                                      |
| [primaryButton](/engine/6000.7/script-reference/unityengine/xr/commonusages/primarybutton.md)                                   | The primary face button being pressed on a device, or sole button if only one is available.                                                                                                                                                                                                                                                        |
| [primaryTouch](/engine/6000.7/script-reference/unityengine/xr/commonusages/primarytouch.md)                                     | The primary face button being touched on a device.                                                                                                                                                                                                                                                                                                 |
| [rightEyeAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/righteyeacceleration.md)                     | The acceleration of the right eye on this device.                                                                                                                                                                                                                                                                                                  |
| [rightEyeAngularAcceleration](/engine/6000.7/script-reference/unityengine/xr/commonusages/righteyeangularacceleration.md)       | The angular acceleration of the right eye on this device, formatted as euler angles.                                                                                                                                                                                                                                                               |
| [rightEyeAngularVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/righteyeangularvelocity.md)               | The angular velocity of the right eye on this device, formatted as euler angles.                                                                                                                                                                                                                                                                   |
| [rightEyePosition](/engine/6000.7/script-reference/unityengine/xr/commonusages/righteyeposition.md)                             | The position of the right eye on this device.                                                                                                                                                                                                                                                                                                      |
| [rightEyeRotation](/engine/6000.7/script-reference/unityengine/xr/commonusages/righteyerotation.md)                             | The rotation of the right eye on this device.                                                                                                                                                                                                                                                                                                      |
| [rightEyeVelocity](/engine/6000.7/script-reference/unityengine/xr/commonusages/righteyevelocity.md)                             | The velocity of the right eye on this device.                                                                                                                                                                                                                                                                                                      |
| [secondary2DAxis](/engine/6000.7/script-reference/unityengine/xr/commonusages/secondary2daxis.md)                               | A secondary touchpad or joystick on a device.                                                                                                                                                                                                                                                                                                      |
| [secondary2DAxisClick](/engine/6000.7/script-reference/unityengine/xr/commonusages/secondary2daxisclick.md)                     | Represents the secondary 2D axis being clicked or otherwise depressed.                                                                                                                                                                                                                                                                             |
| [secondary2DAxisTouch](/engine/6000.7/script-reference/unityengine/xr/commonusages/secondary2daxistouch.md)                     | Represents the secondary 2D axis being touched.                                                                                                                                                                                                                                                                                                    |
| [secondaryButton](/engine/6000.7/script-reference/unityengine/xr/commonusages/secondarybutton.md)                               | The secondary face button being pressed on a device.                                                                                                                                                                                                                                                                                               |
| [secondaryTouch](/engine/6000.7/script-reference/unityengine/xr/commonusages/secondarytouch.md)                                 | The secondary face button being touched on a device.                                                                                                                                                                                                                                                                                               |
| [trackingState](/engine/6000.7/script-reference/unityengine/xr/commonusages/trackingstate.md)                                   | Represents the values being tracked for this device.                                                                                                                                                                                                                                                                                               |
| [trigger](/engine/6000.7/script-reference/unityengine/xr/commonusages/trigger.md)                                               | A trigger-like control, pressed with the index finger.                                                                                                                                                                                                                                                                                             |
| [triggerButton](/engine/6000.7/script-reference/unityengine/xr/commonusages/triggerbutton.md)                                   | A binary measure of whether the index finger is activating the trigger.                                                                                                                                                                                                                                                                            |
| [userPresence](/engine/6000.7/script-reference/unityengine/xr/commonusages/userpresence.md)                                     | Use this property to test whether the user is currently wearing and/or interacting with the XR device. The exact behavior of this property varies with each type of device: some devices have a sensor specifically to detect user proximity, however you can reasonably infer that a user is present with the device when the property is `true`. |
