Transformer
: ITrackingToWorldTransformer |
Transformer is required so calculations can be done in Tracking space.
Signature
ITrackingToWorldTransformer Transformer |
DragThresold
: float
[Get][Set] |
Offset from the center point at which the pointer will be dragged.
Signature
float DragThresold |
MidPoint
: Pose
[Get] |
Center point where the Axis value is 0.
Signature
Pose MidPoint |
Origin
: Pose
[Get] |
Point of the actual origin in world space.
The offset from Origin to MidPoint indicates the Axis value.
Signature
Pose Origin |
ShouldHover
: override bool
[Get] |
Signature
override bool ShouldHover |
ShouldUnhover
: override bool
[Get] |
Signature
override bool ShouldUnhover |
WhenTurnDirectionChanged
: Action< float > |
Event broadcasted when the Axis changes sign.
Signature
Action<float> WhenTurnDirectionChanged |
Awake
()
|
Signature
override void Awake() Returns override void |
ComputeCandidate
()
|
Signature
override LocomotionTurnerInteractable ComputeCandidate() Returns override LocomotionTurnerInteractable |
DoHoverUpdate
()
|
Signature
override void DoHoverUpdate() Returns override void |
DoSelectUpdate
()
|
Signature
override void DoSelectUpdate() Returns override void |
HandleEnabled
()
|
Signature
override void HandleEnabled() Returns override void |
Start
()
|
Signature
override void Start() Returns override void |
InjectAllLocomotionTurnerInteractor
(
origin
, selector
, stabilizationPoint
, transformer
)
|
Signature
void InjectAllLocomotionTurnerInteractor(Transform origin, ISelector selector, Transform stabilizationPoint, ITrackingToWorldTransformer transformer) Parameters origin: Transformselector: ISelectorstabilizationPoint: Transformtransformer: ITrackingToWorldTransformerReturns void |
InjectOrigin
(
origin
)
|
Signature
void InjectOrigin(Transform origin) Parameters origin: TransformReturns void |
InjectSelector
(
selector
)
| |
InjectStabilizationPoint
(
stabilizationPoint
)
|
Signature
void InjectStabilizationPoint(Transform stabilizationPoint) Parameters stabilizationPoint: TransformReturns void |
InjectTransformer
(
transformer
)
|
Signature
void InjectTransformer(ITrackingToWorldTransformer transformer) Parameters transformer: ITrackingToWorldTransformerReturns void |
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.
Signature
float Value() Returns float
A value between -1 and 1
|