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

LocomotionAxisTurnerInteractor Class

LocomotionAxisTurner transforms Axis2D value into Axis1D value.
When the value becomes bigger than the deadzone, the interactor goes into Hover and Select state.

Properties

The Axis.x absolute value must be bigger than this to go into Hover and Select states

Fields

override bool ShouldHover[Get]
override bool ShouldUnhover[Get]

Protected Functions

virtual override bool ComputeShouldSelect ( )
virtual override bool ComputeShouldUnselect ( )
virtual override void Awake ( )
virtual override void OnDisable ( )
virtual override void Start ( )
virtual override void DoPreprocess ( )
virtual override LocomotionAxisTurnerInteractable ComputeCandidate ( )

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 InjectAllLocomotionAxisTurner
( IAxis2D axis2D )
void InjectAxis2D
( IAxis2D axis2D )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon