Editar

Compartir a través de


ArticulatedHandDefinition Class

Definition

Defines the interactions and data that an articulated hand can provide.

public ref class ArticulatedHandDefinition
public ref class ArticulatedHandDefinition : Microsoft::MixedReality::Toolkit::Input::BaseInputSourceDefinition
public class ArticulatedHandDefinition
public class ArticulatedHandDefinition : Microsoft.MixedReality.Toolkit.Input.BaseInputSourceDefinition
type ArticulatedHandDefinition = class
type ArticulatedHandDefinition = class
    inherit BaseInputSourceDefinition
Public Class ArticulatedHandDefinition
Public Class ArticulatedHandDefinition
Inherits BaseInputSourceDefinition
Inheritance
ArticulatedHandDefinition
Inheritance
ArticulatedHandDefinition
Derived

Constructors

ArticulatedHandDefinition(IMixedRealityInputSource, Handedness)

Constructor.

Fields

handedness
inputSource

Properties

AngularVelocity
DefaultInteractions
Obsolete.

The articulated hands default interactions.

DefaultLeftHandedMappings

The collection of interactions supported by a left-handed instance of this controller.

(Inherited from BaseInputSourceDefinition)
DefaultMappings

The articulated hands default interactions.

DefaultRightHandedMappings

The collection of interactions supported by a right-handed instance of this controller.

(Inherited from BaseInputSourceDefinition)
EnterPinchDistance

The distance between the index finger tip and the thumb tip required to enter the pinch/air tap selection gesture. The pinch gesture enter will be registered for all values less than the EnterPinchDistance. The default EnterPinchDistance value is 0.02 and must be between 0.015 and 0.1.

ExitPinchDistance

The distance between the index finger tip and the thumb tip required to exit the pinch/air tap gesture. The pinch gesture exit will be registered for all values greater than the ExitPinchDistance. The default ExitPinchDistance value is 0.05 and must be between 0.015 and 0.1.

Handedness

The Handedness (ex: Left, Right, None) of this controller.

(Inherited from BaseInputSourceDefinition)
HandRay
InputSource

The input source backing this definition instance.

IsGrabbing
IsInPointingPose

Calculates whether the current pose allows for pointing/distant interactions. Equivalent to the HandRay's ShouldShowRay implementation ShouldShowRay

IsInTeleportPose

Calculates whether the current pose is the one to start a teleport action

IsPinching

Calculates whether the current the current joint pose is selecting (air tap gesture).

Velocity

Methods

GetDefaultMappings(Handedness)

Provides the default interactions for this source type with a specific handedness.

(Inherited from BaseInputSourceDefinition)
UpdateCurrentIndexPose(MixedRealityInteractionMapping)

Updates the MixedRealityInteractionMapping with the latest index pose and fires a corresponding pose event.

UpdateCurrentTeleportPose(MixedRealityInteractionMapping)

Updates the MixedRealityInteractionMapping with the latest teleport pose status and fires an event when appropriate

UpdateHandJoints(Dictionary<TrackedHandJoint,MixedRealityPose>)

Updates the current hand joints with new data.

UpdateHandJoints(MixedRealityPose[])

Updates the current hand joints with new data.

UpdatePointerPose(MixedRealityInteractionMapping)

Updates the MixedRealityInteractionMapping with the latest pointer pose status and fires a corresponding pose event.

UpdateVelocity()

Updates the hand definition with its velocity

Applies to