Class TrackXRArticulatedHand
Tracks a spatial anchor.
Inheritance
TrackXRArticulatedHand
Implements
Inherited Members
Namespace: Evergine.Components.XR
Assembly: Evergine.Components.dll
Syntax
public class TrackXRArticulatedHand : TrackXRController, IDependencyObject
Constructors
TrackXRArticulatedHand()
Initializes a new instance of the TrackXRArticulatedHand class.
Declaration
public TrackXRArticulatedHand()
Properties
SupportedHandJointKind
Gets the device-supported hand joint array.
Declaration
public XRHandJointKind[] SupportedHandJointKind { get; }
Property Value
| Type | Description |
|---|---|
| XRHandJointKind[] |
Methods
TryGetArticulatedHandJoint(XRHandJointKind, out XRHandJoint)
Tries to get the hand joint by the specified joint kind in world space.
Declaration
public bool TryGetArticulatedHandJoint(XRHandJointKind jointKind, out XRHandJoint joint)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandJointKind | jointKind | The joint kind. |
| XRHandJoint | joint | The pose of the hand joint. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified joint kind is available. |
TryGetArticulatedHandJointLocal(XRHandJointKind, out XRHandJoint)
Try to get the hand joint by the specified joint kind in local space.
Declaration
public bool TryGetArticulatedHandJointLocal(XRHandJointKind jointKind, out XRHandJoint joint)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandJointKind | jointKind | The joint kind. |
| XRHandJoint | joint | The pose of the hand joint. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified joint kind is available. |