_started
: bool |
Signature
bool Oculus.Interaction.Locomotion.TurnerEventBroadcaster._started |
Identifier
: int |
Signature
int Oculus.Interaction.Locomotion.TurnerEventBroadcaster.Identifier |
FireSnapOnUnselect
: bool
[Get][Set] |
When enabled, snap turn happens on unselect.
If false it happens on select
Signature
bool Oculus.Interaction.Locomotion.TurnerEventBroadcaster.FireSnapOnUnselect |
SmoothTurnCurve
: AnimationCurve
[Get][Set] |
Degrees to continuously rotate during selection when in Smooth turn mode, it is remapped from the Axis value
Signature
AnimationCurve Oculus.Interaction.Locomotion.TurnerEventBroadcaster.SmoothTurnCurve |
SnapTurnDegrees
: float
[Get][Set] |
Degrees to instantly turn when in Snap turn mode.
Note the direction is provided by the axis
Signature
float Oculus.Interaction.Locomotion.TurnerEventBroadcaster.SnapTurnDegrees |
TurnMethod
: TurnMode
[Get][Set] |
Snap turn fires once during Select, while Smooth fires continuously during Select
Signature
TurnMode Oculus.Interaction.Locomotion.TurnerEventBroadcaster.TurnMethod |
WhenLocomotionPerformed
: Action< LocomotionEvent > |
Signature
Action<LocomotionEvent> Oculus.Interaction.Locomotion.TurnerEventBroadcaster.WhenLocomotionPerformed |
Awake
()
|
Signature
virtual void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.Awake() Returns void |
OnDisable
()
|
Signature
virtual void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.OnDisable() Returns void |
OnEnable
()
|
Signature
virtual void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.OnEnable() Returns void |
Start
()
|
Signature
virtual void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.Start() Returns void |
InjectAllTurnerEventBroadcaster
(
interactor
, axis
)
|
Signature
void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.InjectAllTurnerEventBroadcaster(IInteractor interactor, IAxis1D axis) Parameters interactor: IInteractoraxis: IAxis1DReturns void |
InjectAxis
(
axis
)
|
Signature
void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.InjectAxis(IAxis1D axis) Parameters axis: IAxis1DReturns void |
InjectInteractor
(
interactor
)
|
Signature
void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.InjectInteractor(IInteractor interactor) Parameters interactor: IInteractorReturns void |
SmoothTurn
(
direction
)
|
Fires a Velocity Rotation event using the given direction.
It uses the magnitude of the direction and adjusts it using the _smoothTurnCurve
Signature
void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.SmoothTurn(float direction) Parameters direction: float
The direction and magnitude of the turn, 1 for clockwise, -1 anti-clockwise
Returns void |
SnapTurn
(
direction
)
|
Fires a Relative Rotation event using the given direction.
It ignores the magnitude of the direction and uses the _snapTurnDegrees
Signature
void Oculus.Interaction.Locomotion.TurnerEventBroadcaster.SnapTurn(float direction) Parameters direction: float
The direction of the turn, 1 for clockwise, -1 anti-clockwise
Returns void |
| Member |
|---|
Snap |
Smooth |