Class MicrosoftArticulatedHand
Inheritance
MicrosoftArticulatedHand
Implements
IMixedRealityHand
Assembly: cs.temp.dll.dll
public class MicrosoftArticulatedHand : GenericXRSDKController, IMixedRealityHand
Constructors
Declaration
public MicrosoftArticulatedHand(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
Parameters
Type |
Name |
Description |
TrackingState |
trackingState |
|
Handedness |
controllerHandedness |
|
IMixedRealityInputSource |
inputSource |
|
MixedRealityInteractionMapping[] |
interactions |
|
Fields
Declaration
protected readonly ArticulatedHandDefinition handDefinition
Field Value
Type |
Description |
ArticulatedHandDefinition |
|
Declaration
protected readonly Dictionary<TrackedHandJoint, MixedRealityPose> unityJointPoses
Field Value
Type |
Description |
Dictionary<TrackedHandJoint, MixedRealityPose> |
|
Properties
Declaration
public override MixedRealityInteractionMapping[] DefaultInteractions { get; }
Property Value
Type |
Description |
MixedRealityInteractionMapping[] |
|
Declaration
public override bool IsInPointingPose { get; }
Property Value
Methods
Declaration
public bool TryGetJoint(TrackedHandJoint joint, out MixedRealityPose pose)
Parameters
Type |
Name |
Description |
TrackedHandJoint |
joint |
|
MixedRealityPose |
pose |
|
Returns
Declaration
protected override void UpdateButtonData(MixedRealityInteractionMapping interactionMapping, InputDevice inputDevice)
Parameters
Type |
Name |
Description |
MixedRealityInteractionMapping |
interactionMapping |
|
InputDevice |
inputDevice |
|
The OpenXR plug-in uses extensions to expose all possible data, which might be surfaced through multiple input devices.
This method is overridden to account for multiple input devices.
Declaration
public override void UpdateController(InputDevice inputDevice)
Parameters
Type |
Name |
Description |
InputDevice |
inputDevice |
The current input device to grab data from.
|
Declaration
protected override void UpdatePoseData(MixedRealityInteractionMapping interactionMapping, InputDevice inputDevice)
Parameters
Type |
Name |
Description |
MixedRealityInteractionMapping |
interactionMapping |
|
InputDevice |
inputDevice |
|
Declaration
protected override void UpdateSingleAxisData(MixedRealityInteractionMapping interactionMapping, InputDevice inputDevice)
Parameters
Type |
Name |
Description |
MixedRealityInteractionMapping |
interactionMapping |
|
InputDevice |
inputDevice |
|
Implements
IMixedRealityHand