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 |
FeatureStates
: IReadOnlyDictionary< JointComparerConfig, BodyPoseComparerFeatureState >
[Get] |
Signature
IReadOnlyDictionary<JointComparerConfig, BodyPoseComparerFeatureState> FeatureStates |
MinTimeInState
: float
[Get][Set] |
Signature
float MinTimeInState |
Awake
()
|
Signature
virtual void Awake() Returns void |
Start
()
|
Signature
virtual void Start() Returns void |
InjectAllBodyPoseComparerActiveState
(
poseA
, poseB
, configs
)
| |
InjectJoints
(
configs
)
|
Signature
void InjectJoints(IEnumerable< JointComparerConfig > configs) Parameters configs: IEnumerable< JointComparerConfig >Returns void |
InjectOptionalTimeProvider
(
timeProvider
)
|
Signature
void InjectOptionalTimeProvider(Func< float > timeProvider) Parameters timeProvider: Func< float >Returns void |
InjectPoseA
(
poseA
)
| |
InjectPoseB
(
poseB
)
| |
SetTimeProvider
(
timeProvider
)
|
Sets a function that returns the current time in seconds.
Signature
void SetTimeProvider(Func< float > timeProvider) Parameters timeProvider: Func< float >Returns void |
Joint
: BodyJointId |
Signature
BodyJointId Joint |
MaxDelta
: float |
Signature
float MaxDelta |
Width
: float |
Signature
float Width |
BodyPoseComparerFeatureState
(
delta
, maxDelta
)
|
Signature
BodyPoseComparerFeatureState(float delta, float maxDelta) Parameters delta: floatmaxDelta: float |
Delta
: readonly float |
Signature
readonly float Delta |
MaxDelta
: readonly float |
Signature
readonly float MaxDelta |