API reference

OVRAxis2D Class

Extends MonoBehaviour

Methods

Value ()
Returns the most recent measured value of the IAxis2D; for example, a type representing a ControllerInput.Primary2DAxis might return (0.5f, 0.5f) if the underlying thumbstick is being held slightly up and to the right of its neutral position.
Signature
Vector2 Oculus.Interaction.OVR.Input.OVRAxis2D.Value()
Returns
Vector2  The most recent measured value of the IAxis2D