_started
: bool |
Signature
bool _started |
Active
: bool
[Get] |
Evaluates the current state of the component and returns whether it is active.
The logic for determining the active state is defined by the implementing class. This method is typically used in interaction scripts to check whether a certain condition is met before triggering an event or action. For example implementations, please refer to HandActiveState.Active and ActiveStateGroup.Active.
Signature
bool Active |
FeatureConfigs
: IReadOnlyList< JointVelocityFeatureConfig >
[Get] |
Signature
IReadOnlyList<JointVelocityFeatureConfig> FeatureConfigs |
FeatureStates
: IReadOnlyDictionary< JointVelocityFeatureConfig, JointVelocityFeatureState >
[Get] |
Signature
IReadOnlyDictionary<JointVelocityFeatureConfig, JointVelocityFeatureState> FeatureStates |
Hand
: IHand
[Get] |
Signature
IHand Hand |
Hmd
: IHmd
[Get] |
Signature
IHmd Hmd |
JointDeltaProvider
: IJointDeltaProvider
[Get] |
Signature
IJointDeltaProvider JointDeltaProvider |
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 |
Update
()
|
Signature
virtual void Update() Returns void |
InjectAllJointVelocityActiveState
(
featureConfigs
, hand
, jointDeltaProvider
)
|
Signature
void InjectAllJointVelocityActiveState(JointVelocityFeatureConfigList featureConfigs, IHand hand, IJointDeltaProvider jointDeltaProvider) Parameters Returns void |
InjectFeatureConfigList
(
featureConfigs
)
|
Signature
void InjectFeatureConfigList(JointVelocityFeatureConfigList featureConfigs) Parameters featureConfigs: JointVelocityFeatureConfigListReturns void |
InjectHand
(
hand
)
| |
InjectJointDeltaProvider
(
jointDeltaProvider
)
|
Signature
void InjectJointDeltaProvider(IJointDeltaProvider jointDeltaProvider) Parameters jointDeltaProvider: IJointDeltaProviderReturns void |
InjectOptionalHmd
(
hmd
)
| |
InjectOptionalTimeProvider
(
timeProvider
)
|
Signature
void InjectOptionalTimeProvider(Func< float > timeProvider) Parameters timeProvider: Func< float >Returns void |
SetTimeProvider
(
timeProvider
)
|
Sets a function that returns the current time in seconds.
Signature
void SetTimeProvider(Func< float > timeProvider) Parameters timeProvider: Func< float >Returns void |
HandAxis
: HandAxis
[Get][Set] |
Signature
HandAxis HandAxis |
HeadAxis
: HeadAxis
[Get][Set] |
Signature
HeadAxis HeadAxis |
RelativeTo
: RelativeTo
[Get][Set] |
Signature
RelativeTo RelativeTo |
WorldAxis
: WorldAxis
[Get][Set] |
Signature
WorldAxis WorldAxis |
Values
: List< JointVelocityFeatureConfig >
[Get] |
Signature
List<JointVelocityFeatureConfig> Values |
JointVelocityFeatureState
(
targetVector
, velocity
)
|
Signature
JointVelocityFeatureState(Vector3 targetVector, float velocity) Parameters targetVector: Vector3velocity: float |
Amount
: readonly float |
The normalized joint velocity along the target vector relative to _minVelocity
Signature
readonly float Amount |
TargetVector
: readonly Vector3 |
The world target vector for a JointVelocityFeatureConfig
Signature
readonly Vector3 TargetVector |
| Member | Value |
|---|---|
Hand | 0 |
World | 1 |
Head | 2 |
| Member | Value |
|---|---|
PositiveX | 0 |
NegativeX | 1 |
PositiveY | 2 |
NegativeY | 3 |
PositiveZ | 4 |
NegativeZ | 5 |
| Member | Value |
|---|---|
HeadForward | 0 |
HeadBackward | 1 |
HeadUp | 2 |
HeadDown | 3 |
HeadLeft | 4 |
HeadRight | 5 |
| Member | Value |
|---|---|
PalmForward | 0 |
PalmBackward | 1 |
WristUp | 2 |
WristDown | 3 |
WristForward | 4 |
WristBackward | 5 |