Enum LocomotionState
The state of locomotion for any given LocomotionProvider.
Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public enum LocomotionState
Fields
| Name | Description |
|---|---|
| Ended | Locomotion state where the LocomotionProvider is no longer moving, after locomotion end input has completed. |
| Idle | Locomotion state where the LocomotionProvider is idle, before locomotion input occurs. |
| Moving | Locomotion state where the LocomotionProvider is queuing IXRBodyTransformations with the XRBodyTransformer. |
| Preparing | Locomotion state where the LocomotionProvider is getting ready to move, when locomotion start input occurs. |