_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< JointRotationFeatureConfig >
[Get] |
Signature
IReadOnlyList<JointRotationFeatureConfig> FeatureConfigs |
FeatureStates
: IReadOnlyDictionary< JointRotationFeatureConfig, JointRotationFeatureState >
[Get] |
Signature
IReadOnlyDictionary<JointRotationFeatureConfig, JointRotationFeatureState> FeatureStates |
Hand
: IHand
[Get] |
Signature
IHand Hand |
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 |
InjectAllJointRotationActiveState
(
featureConfigs
, hand
, jointDeltaProvider
)
|
Signature
void InjectAllJointRotationActiveState(JointRotationFeatureConfigList featureConfigs, IHand hand, IJointDeltaProvider jointDeltaProvider) Parameters Returns void |
InjectFeatureConfigList
(
featureConfigs
)
|
Signature
void InjectFeatureConfigList(JointRotationFeatureConfigList featureConfigs) Parameters featureConfigs: JointRotationFeatureConfigListReturns void |
InjectHand
(
hand
)
| |
InjectJointDeltaProvider
(
jointDeltaProvider
)
|
Signature
void InjectJointDeltaProvider(IJointDeltaProvider jointDeltaProvider) Parameters jointDeltaProvider: IJointDeltaProviderReturns void |
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 |
RelativeTo
: RelativeTo
[Get][Set] |
Signature
RelativeTo RelativeTo |
WorldAxis
: WorldAxis
[Get][Set] |
Signature
WorldAxis WorldAxis |
Values
: List< JointRotationFeatureConfig >
[Get] |
Signature
List<JointRotationFeatureConfig> Values |
JointRotationFeatureState
(
targetAxis
, amount
)
|
Signature
JointRotationFeatureState(Vector3 targetAxis, float amount) Parameters targetAxis: Vector3amount: float |
Amount
: readonly float |
The normalized joint rotation along the target axis relative to _degreesPerSecond
Signature
readonly float Amount |
TargetAxis
: readonly Vector3 |
The world target euler angles for a JointRotationFeatureConfig
Signature
readonly Vector3 TargetAxis |
| Member | Value |
|---|---|
Hand | 0 |
World | 1 |
| Member | Value |
|---|---|
PositiveX | 0 |
NegativeX | 1 |
PositiveY | 2 |
NegativeY | 3 |
PositiveZ | 4 |
NegativeZ | 5 |
| Member | Value |
|---|---|
Pronation | 0 |
Supination | 1 |
RadialDeviation | 2 |
UlnarDeviation | 3 |
Extension | 4 |
Flexion | 5 |