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

LocomotionTurnerInteractorVisual Class

Extends MonoBehaviour
Drives the visual affordances of a LocomotionTurnerInteractor, such as the activation, positioning and highlighting of turner arrows.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual._started

Properties

VerticalOffset : float
[Get][Set]
The vertical offset above the LocomotionTurnerInteractor.MidPoint where the arrow visuals will be positioned.
Signature
float Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.VerticalOffset

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.Awake()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.Start()
Returns
void

Methods

InjectAllLocomotionTurnerInteractorArrowsVisual ( turner , visuals )
Injects all required dependencies for a dynamically instantiated LocomotionTurnerInteractorVisual.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.InjectAllLocomotionTurnerInteractorArrowsVisual(LocomotionTurnerInteractor turner, TurnArrowVisuals visuals)
Returns
void
InjectOptionalLookAt ( lookAt )
Sets the underlying optional LookAt Transform for a dynamically instantiated LocomotionTurnerInteractorVisual.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.InjectOptionalLookAt(Transform lookAt)
Parameters
lookAt: Transform
Returns
void
InjectOptionalProgress ( progress )
Sets the underlying optional IAxis1D for a dynamically instantiated LocomotionTurnerInteractorVisual.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.InjectOptionalProgress(IAxis1D progress)
Parameters
progress: IAxis1D
Returns
void
InjectOptionalRoot ( root )
Sets the underlying root Transform for a dynamically instantiated LocomotionTurnerInteractorVisual.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.InjectOptionalRoot(Transform root)
Parameters
root: Transform
Returns
void
InjectTurner ( turner )
Sets the underlying LocomotionTurnerInteractor for a dynamically instantiated LocomotionTurnerInteractorVisual.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.InjectTurner(LocomotionTurnerInteractor turner)
Parameters
Returns
void
InjectVisuals ( visuals )
Sets the underlying TurnArrowVisuals for a dynamically instantiated LocomotionTurnerInteractorVisual.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractorVisual.InjectVisuals(TurnArrowVisuals visuals)
Parameters
Returns
void