_started
: bool |
Signature
bool _started |
ActiveMode
: LocomotionMode
[Get] |
Signature
LocomotionMode ActiveMode |
CurrentAngle
: float
[Get] |
Signature
float CurrentAngle |
Hand
: IHand
[Get] |
Signature
IHand Hand |
StabilizationPose
: Pose
[Get] |
Signature
Pose StabilizationPose |
WhenActiveModeChanged
: Action< LocomotionModeEventArgs > |
Signature
Action<LocomotionModeEventArgs> WhenActiveModeChanged |
WristDirection
: Vector3
[Get] |
Signature
Vector3 WristDirection |
Awake
()
|
Signature
virtual void Awake() Returns void |
OnDisable
()
|
Signature
virtual void OnDisable() Returns void |
OnEnable
()
|
Signature
virtual void OnEnable() Returns void |
Start
()
|
Signature
virtual void Start() Returns void |
Cancel
()
|
Disables the Gate, forcing the user to perform the disable shape and then the enable shape.
Signature
void Cancel() Returns void |
Disable
()
|
Disables the Gate, forcing the user to perform the enable shape.
Signature
void Disable() Returns void |
InjectAllLocomotionGate
(
hand
, shoulder
, enableShape
, disableShape
, turningState
, teleportState
, gateSections
)
|
Signature
void InjectAllLocomotionGate(IHand hand, Transform shoulder, IActiveState enableShape, IActiveState disableShape, VirtualActiveState turningState, VirtualActiveState teleportState, GateSection[] gateSections) Parameters hand: IHandshoulder: TransformenableShape: IActiveStatedisableShape: IActiveStateturningState: VirtualActiveStateteleportState: VirtualActiveStategateSections: GateSection[]Returns void |
InjectDisableShape
(
disableShape
)
|
Signature
void InjectDisableShape(IActiveState disableShape) Parameters disableShape: IActiveStateReturns void |
InjectEnableShape
(
enableShape
)
|
Signature
void InjectEnableShape(IActiveState enableShape) Parameters enableShape: IActiveStateReturns void |
InjectGateSections
(
gateSections
)
|
Signature
void InjectGateSections(GateSection[] gateSections) Parameters gateSections: GateSection[]Returns void |
InjectHand
(
hand
)
| |
InjectShoulder
(
shoulder
)
|
Signature
void InjectShoulder(Transform shoulder) Parameters shoulder: TransformReturns void |
InjectTeleportState
(
teleportState
)
|
Signature
void InjectTeleportState(VirtualActiveState teleportState) Parameters teleportState: VirtualActiveStateReturns void |
InjectTurningState
(
turningState
)
|
Signature
void InjectTurningState(VirtualActiveState turningState) Parameters turningState: VirtualActiveStateReturns void |
canEnterDirectly
: bool |
Signature
bool canEnterDirectly |
locomotionMode
: LocomotionMode |
Signature
LocomotionMode locomotionMode |
maxAngle
: float |
Signature
float maxAngle |
minAngle
: float |
Signature
float minAngle |
ScoreToAngle
(
angle
)
|
Signature
float ScoreToAngle(float angle) Parameters angle: floatReturns float |
LocomotionModeEventArgs
(
previousMode
, newMode
)
|
Signature
LocomotionModeEventArgs(LocomotionMode previousMode, LocomotionMode newMode) Parameters previousMode: LocomotionModenewMode: LocomotionMode |
NewMode
: LocomotionMode
[Get] |
Signature
LocomotionMode NewMode |
PreviousMode
: LocomotionMode
[Get] |
Signature
LocomotionMode PreviousMode |
| Member |
|---|
None |
Teleport |
Turn |