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

LocomotionEventSelector Class

Extends MonoBehaviour
Transforms LocomotionAction of type Select incoming from the LocomotionEvent pipeline into a ISelector Select event followed by an Unselect event.

Properties

WhenLocomotionEventHandled : Action< LocomotionEvent, Pose >
Signature
Action<LocomotionEvent, Pose> Oculus.Interaction.Locomotion.LocomotionEventSelector.WhenLocomotionEventHandled
WhenSelected : Action
Signature
Action Oculus.Interaction.Locomotion.LocomotionEventSelector.WhenSelected
WhenUnselected : Action
Signature
Action Oculus.Interaction.Locomotion.LocomotionEventSelector.WhenUnselected

Methods

HandleLocomotionEvent ( locomotionEvent )
Processes an incoming locomotion event and applies the appropriate transformations or state changes based on the event type.
Signature
void Oculus.Interaction.Locomotion.LocomotionEventSelector.HandleLocomotionEvent(LocomotionEvent locomotionEvent)
Parameters
locomotionEvent: LocomotionEvent  The LocomotionEvent containing movement or teleportation data
Returns
void