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

TurnerEventBroadcaster Class

This component transforms an Axis value into Locomotion turning events.
Oculus::Interaction::Locomotion::TurnerEventBroadcaster extends MonoBehaviour.
Oculus::Interaction::Locomotion::TurnerEventBroadcaster extends Oculus.Interaction.Locomotion.ILocomotionEventBroadcaster.

Overview

Public Types

Properties

Axis[Get]
TurnMode
Snap turn fires once during Select, while Smooth fires continuously during Select.
float
Degrees to instantly turn when in Snap turn mode.
AnimationCurve
Degrees to continuously rotate during selection when in Smooth turn mode, it is remapped from the Axis value.
bool
When enabled, snap turn happens on unselect.
int
Action< LocomotionEvent >

Object Data

bool

Object Data

void
Awake ( )
void
Start ( )
void
void

Public Member Functions

void
void
void

Details

Detailed Description

The moment at which the events are emitted depends on an Interactor State. When using Snap turning mode the event is sent once during Select while on Smooth turning mode it is processed continuously during select.

Member Enumerations

enum Oculus::Interaction::Locomotion::TurnerEventBroadcaster.TurnMode
Enumerator
Snap
Smooth

Properties

IInteractor Oculus.Interaction.Locomotion.TurnerEventBroadcaster.Interactor
No description available.
IAxis1D Oculus.Interaction.Locomotion.TurnerEventBroadcaster.Axis
No description available.
TurnMode Oculus.Interaction.Locomotion.TurnerEventBroadcaster.TurnMethod
Snap turn fires once during Select, while Smooth fires continuously during Select.
float Oculus.Interaction.Locomotion.TurnerEventBroadcaster.SnapTurnDegrees
Degrees to instantly turn when in Snap turn mode.
Note the direction is provided by the axis
AnimationCurve Oculus.Interaction.Locomotion.TurnerEventBroadcaster.SmoothTurnCurve
Degrees to continuously rotate during selection when in Smooth turn mode, it is remapped from the Axis value.
bool Oculus.Interaction.Locomotion.TurnerEventBroadcaster.FireSnapOnUnselect
When enabled, snap turn happens on unselect.
If false it happens on select
int Oculus.Interaction.Locomotion.TurnerEventBroadcaster.Identifier
No description available.
Action<LocomotionEvent> Oculus.Interaction.Locomotion.TurnerEventBroadcaster.WhenLocomotionPerformed
No description available.

Object Data

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

Object Data

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

Member Functions

void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.InjectAllTurnerEventBroadcaster
( IInteractor interactor,
IAxis1D axis )
No description available.
void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.InjectInteractor
( IInteractor interactor )
No description available.
void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.InjectAxis
( IAxis1D axis )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon