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

LocomotionTurnerInteractor Class

LocomotionTurnerInteractor is an interactor that processes the position of a point in space and outputs an Axis1D value based on the lateral displacement of said point.
Oculus::Interaction::Locomotion::LocomotionTurnerInteractor extends Oculus.Interaction.Interactor< LocomotionTurnerInteractor, LocomotionTurnerInteractable >.
Oculus::Interaction::Locomotion::LocomotionTurnerInteractor extends Oculus.Interaction.Input.IAxis1D.

Overview

Data Fields

Transformer is required so calculations can be done in Tracking space.

Properties

float
Offset from the center point at which the pointer will be dragged.
Pose
Center point where the Axis value is 0.
Pose
Origin[Get]
Point of the actual origin in world space.
Action< float >
Event broadcasted when the Axis changes sign.
override bool
override bool

Object Data

override void
Awake ( )
override void
Start ( )
override void
override void
override void

Public Member Functions

float
Value ( )
Axis value of the interactor, between -1 and 1 where a negative number indicates a left turn and a positive value a right turn.
void
InjectAllLocomotionTurnerInteractor
( Transform origin,
ISelector selector,
Transform stabilizationPoint,
void
InjectOrigin
( Transform origin )
void
void
InjectStabilizationPoint
( Transform stabilizationPoint )
void

Details

Detailed Description

This interactor does not require any interactable.

Fields

ITrackingToWorldTransformer Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.Transformer
Transformer is required so calculations can be done in Tracking space.

Properties

float Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.DragThresold
Offset from the center point at which the pointer will be dragged.
Pose Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.MidPoint
Center point where the Axis value is 0.
Pose Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.Origin
Point of the actual origin in world space.
The offset from Origin to MidPoint indicates the Axis value.
Action<float> Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.WhenTurnDirectionChanged
Event broadcasted when the Axis changes sign.
override bool Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.ShouldHover
No description available.
override bool Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.ShouldUnhover
No description available.

Object Data

override void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.Awake ( )
No description available.
override void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.Start ( )
No description available.
override void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.HandleEnabled ( )
No description available.
override void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.DoHoverUpdate ( )
No description available.
override void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.DoSelectUpdate ( )
No description available.
override LocomotionTurnerInteractable Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.ComputeCandidate ( )
No description available.

Member Functions

float Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.Value ( )
Axis value of the interactor, between -1 and 1 where a negative number indicates a left turn and a positive value a right turn.
Returns
A value between -1 and 1
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.InjectAllLocomotionTurnerInteractor
( Transform origin,
ISelector selector,
Transform stabilizationPoint,
No description available.
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.InjectOrigin
( Transform origin )
No description available.
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.InjectSelector
( ISelector selector )
No description available.
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.InjectStabilizationPoint
( Transform stabilizationPoint )
No description available.
void Oculus.Interaction.Locomotion.LocomotionTurnerInteractor.InjectTransformer
( ITrackingToWorldTransformer transformer )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon