Class AdvancedTrackXRDevice
Track a spatial anchor.
Inheritance
DependencyObject
AttachableObject
PrefabInstanceObject
Component
Behavior
AdvancedTrackXRDevice
Implements
Inherited Members
Behavior.Family
Behavior.UpdateOrder
Component.Owner
Component.Managers
Component.ShouldBeActivated
Component.Clone()
Component.Attach(Entity)
Component.OnLoaded()
Component.OnActivated()
Component.Start()
Component.OnDeactivated()
Component.OnDestroy()
PrefabInstanceObject.PrefabSource
PrefabInstanceObject.PrefabElementId
PrefabInstanceObject.IsPrefabInstance
PrefabInstanceObject.IsMissingPrefabSource
AttachableObject.AttachableStateChanged
AttachableObject.IsEnabled
AttachableObject.State
AttachableObject.IsLoaded
AttachableObject.IsAttached
AttachableObject.IsActivated
AttachableObject.IsStarted
AttachableObject.IsDestroyed
AttachableObject.Destroy()
AttachableObject.DependencyBroken()
DependencyObject.Dependencies
DependencyObject.OnDependencyRemoved
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()
Update method by tracked device.
Declaration
protected override void InternalUpdate()
Overrides
TryGetArticulatedHandJoint(XRHandJointKind, out XRHandJoint)
Try get 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. |