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

IAxis1D Interface

An interface designating that implementing types represent one-dimensional measurements or "axes." Such measurements can be used to encapsulate trigger input states (such as from ControllerInput.Trigger), in contrast to thumbsticks and other higher-dimensional input modalities.

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
Did you find this page helpful?
Thumbs up icon
Thumbs down icon