API reference
API reference
Select your platform
No SDKs available
No versions available

OVRButtonAxis1D Class

Extends MonoBehaviour, IAxis1D
Takes a set of Near, Touch and Button bools and remaps them to an Axis1D float.

Properties

float NearValue[Get]
float TouchValue[Get]
float ButtonValue[Get]
float Target[Get]

Member Functions

Returns the most recent measured value of the IAxis1D; for example, a type representing a ControllerInput.Trigger might return a value between 0 and 1 depending on the degree to which the trigger is being depressed.
Returns
The most recent measured value of the IAxis1D
void InjectAllOVRButtonAxis1D
( OVRInput.Controller controller,
OVRInput.Button near,
OVRInput.Button touch,
OVRInput.Button button )
void InjectOptionalCurve
( ProgressCurve progressCurve )

Protected Functions

virtual void Update ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon