Class AdvancedTrackXRDevice
Tracks a spatial anchor.
Inheritance
AdvancedTrackXRDevice
Implements
Inherited Members
Namespace: Evergine.Components.XR
Assembly: Evergine.Components.dll
Syntax
public class AdvancedTrackXRDevice : TrackXRDevice, IDependencyObject
Constructors
AdvancedTrackXRDevice()
Initializes a new instance of the AdvancedTrackXRDevice class.
Declaration
public AdvancedTrackXRDevice()
Properties
ControllerState
Gets the controller state.
Declaration
public XRControllerGenericState ControllerState { get; }
Property Value
| Type | Description |
|---|---|
| XRControllerGenericState |
DeviceIndex
Gets or sets the device type.
Declaration
public uint DeviceIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
DeviceType
Gets or sets the device type.
Declaration
public XRTrackedDeviceType DeviceType { get; set; }
Property Value
| Type | Description |
|---|---|
| XRTrackedDeviceType |
Handedness
Gets or sets the controller role.
Declaration
public XRHandedness Handedness { get; set; }
Property Value
| Type | Description |
|---|---|
| XRHandedness |
SelectionStrategy
Gets or sets the controller role.
Declaration
public TrackXRDevice.SelectionDeviceStrategy SelectionStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| TrackXRDevice.SelectionDeviceStrategy |
SupportedHandJointKind
Gets the device-supported hand joint array.
Declaration
public XRHandJointKind[] SupportedHandJointKind { get; }
Property Value
| Type | Description |
|---|---|
| XRHandJointKind[] |
Methods
InternalUpdate()
Updates method by the tracked device.
Declaration
protected override void InternalUpdate()
Overrides
TryGetArticulatedHandJoint(XRHandJointKind, out XRHandJoint)
Tries to get the hand joint by the specified joint kind.
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. |