API reference
API reference
Select your platform
No SDKs available
No versions available

HandTrackingConfidenceProvider Class

Extends MonoBehaviour
Exposes a hand tracking confidence value for an interactor.
An IInteractor can be associated with a IHand with this component, this confidence status can be fetched using an IInteractorView.Identifier as a key.

Properties

IHand Hand[Get]

Protected Fields

bool _started[Get]

Protected Functions

virtual void Reset ( )
virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )

Static Member Functions

Retrieves the IHand.IsHighConfidence value for the IHand associated with the provided IInteractorView.Identifier, if present.
Parameters
key
The IInteractorView.Identifier of the interactor.
isTrackingHighConfidence
True if the IHand is tracked with high confidence.
Returns
True if the provided interactor is associated with an IHand, and confidence value can be retrieved.

Member Functions

Injects all required dependencies for a dynamically instantiated HandTrackingConfidenceProvider.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying IInteractor for a dynamically instantiated HandTrackingConfidenceProvider.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying IHand for a dynamically instantiated HandTrackingConfidenceProvider.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Did you find this page helpful?