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

LocomotionGate Class

This Gate reads the Hand orientation towards the shoulder and decides if it should be in Teleport mode or Turning mode.
Oculus::Interaction::Locomotion::LocomotionGate extends MonoBehaviour.

Overview

Object Data

bool

Object Data

void
Awake ( )
void
Start ( )
void
void

Public Member Functions

void
Disable ( )
Disables the Gate, forcing the user to perform the enable shape.
void
Cancel ( )
Disables the Gate, forcing the user to perform the disable shape and then the enable shape.
void
InjectAllLocomotionGate
( IHand hand,
Transform shoulder,
IActiveState enableShape,
IActiveState disableShape,
VirtualActiveState turningState,
VirtualActiveState teleportState,
GateSection[] gateSections )
void
InjectHand
( IHand hand )
void
InjectShoulder
( Transform shoulder )
void
void
void
void
void
InjectGateSections
( GateSection[] gateSections )

Details

Detailed Description

It enables/disables said modes based on some Input ActiveStates (EnableShape and DisableShape). It outputs it result into two ActiveStates (for Teleport and Turn)

Member Enumerations

enum Oculus::Interaction::Locomotion::LocomotionGate.LocomotionMode
Enumerator
None
Teleport
Turn

Properties

IHand Oculus.Interaction.Locomotion.LocomotionGate.Hand
No description available.
IActiveState Oculus.Interaction.Locomotion.LocomotionGate.EnableShape
No description available.
IActiveState Oculus.Interaction.Locomotion.LocomotionGate.DisableShape
No description available.
LocomotionMode Oculus.Interaction.Locomotion.LocomotionGate.ActiveMode
No description available.
float Oculus.Interaction.Locomotion.LocomotionGate.CurrentAngle
No description available.
Vector3 Oculus.Interaction.Locomotion.LocomotionGate.WristDirection
No description available.
Pose Oculus.Interaction.Locomotion.LocomotionGate.StabilizationPose
No description available.
Action<LocomotionModeEventArgs> Oculus.Interaction.Locomotion.LocomotionGate.WhenActiveModeChanged
No description available.

Object Data

bool Oculus.Interaction.Locomotion.LocomotionGate._started
No description available.

Object Data

virtual void Oculus.Interaction.Locomotion.LocomotionGate.Awake ( )
No description available.
virtual void Oculus.Interaction.Locomotion.LocomotionGate.Start ( )
No description available.
virtual void Oculus.Interaction.Locomotion.LocomotionGate.OnEnable ( )
No description available.
virtual void Oculus.Interaction.Locomotion.LocomotionGate.OnDisable ( )
No description available.

Member Functions

void Oculus.Interaction.Locomotion.LocomotionGate.Disable ( )
Disables the Gate, forcing the user to perform the enable shape.
void Oculus.Interaction.Locomotion.LocomotionGate.Cancel ( )
Disables the Gate, forcing the user to perform the disable shape and then the enable shape.
void Oculus.Interaction.Locomotion.LocomotionGate.InjectAllLocomotionGate
( IHand hand,
Transform shoulder,
IActiveState enableShape,
IActiveState disableShape,
VirtualActiveState turningState,
VirtualActiveState teleportState,
GateSection[] gateSections )
No description available.
void Oculus.Interaction.Locomotion.LocomotionGate.InjectHand
( IHand hand )
No description available.
void Oculus.Interaction.Locomotion.LocomotionGate.InjectShoulder
( Transform shoulder )
No description available.
void Oculus.Interaction.Locomotion.LocomotionGate.InjectEnableShape
( IActiveState enableShape )
No description available.
void Oculus.Interaction.Locomotion.LocomotionGate.InjectDisableShape
( IActiveState disableShape )
No description available.
void Oculus.Interaction.Locomotion.LocomotionGate.InjectTurningState
( VirtualActiveState turningState )
No description available.
void Oculus.Interaction.Locomotion.LocomotionGate.InjectTeleportState
( VirtualActiveState teleportState )
No description available.
void Oculus.Interaction.Locomotion.LocomotionGate.InjectGateSections
( GateSection[] gateSections )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon