Editar

Partilhar via


LeapMotionArticulatedHand Constructor

Definition

Constructor for a Leap Motion Articulated Hand

public LeapMotionArticulatedHand (Microsoft.MixedReality.Toolkit.TrackingState trackingState, Microsoft.MixedReality.Toolkit.Utilities.Handedness controllerHandedness, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource inputSource = default, Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] interactions = default);
new Microsoft.MixedReality.Toolkit.LeapMotion.Input.LeapMotionArticulatedHand : Microsoft.MixedReality.Toolkit.TrackingState * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] -> Microsoft.MixedReality.Toolkit.LeapMotion.Input.LeapMotionArticulatedHand
Public Sub New (trackingState As TrackingState, controllerHandedness As Handedness, Optional inputSource As IMixedRealityInputSource = Nothing, Optional interactions As MixedRealityInteractionMapping() = Nothing)

Parameters

trackingState
TrackingState

Tracking state for the controller

controllerHandedness
Handedness

Handedness of this controller (Left or Right)

inputSource
IMixedRealityInputSource

The origin of user input for this controller

interactions
MixedRealityInteractionMapping[]

The controller interaction map between physical inputs and the logical representation in MRTK

Applies to