Прочетете на английски Редактиране

Споделяне чрез


RiggedHandVisualizer Class

Definition

Hand visualizer that controls a hierarchy of transforms to be used by a SkinnedMeshRenderer Implementation is derived from LeapMotion RiggedHand and RiggedFinger and has visual parity

C++
public ref class RiggedHandVisualizer : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Input::IMixedRealityControllerVisualizer, Microsoft::MixedReality::Toolkit::Input::IMixedRealityHandJointHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySourceStateHandler, UnityEngine::EventSystems::IEventSystemHandler
C++
public ref class RiggedHandVisualizer : Microsoft::MixedReality::Toolkit::Input::BaseHandVisualizer
Inheritance
UnityEngine.MonoBehaviour
RiggedHandVisualizer
Inheritance
UnityEngine.MonoBehaviour
RiggedHandVisualizer
Implements

Constructors

Fields

DeformPosition
handMeshFilter (Inherited from BaseHandVisualizer)
IndexRoot

Index metacarpal transform (index finger root)

IndexRootIsMetacarpal
joints
Obsolete.
(Inherited from BaseHandVisualizer)
MiddleRoot

Middle metacarpal transform (middle finger root)

MiddleRootIsMetacarpal
ModelFingerPointing
ModelPalmAtLeapWrist
ModelPalmFacing
Palm

Palm transform

PinkyRoot

Pinky metacarpal transform (pinky finger root)

PinkyRootIsMetacarpal
riggedVisualJointsArray
RingRoot

Ring metacarpal transform (ring finger root)

RingRootIsMetacarpal
ScaleLastFingerBone
ThumbRoot

Thumb metacarpal transform (thumb root)

ThumbRootIsMetacarpal
Wrist

Wrist Transform

Properties

Controller

The current controller reference.

Controller (Inherited from BaseHandVisualizer)
GameObjectProxy

The GameObject reference for this controller.

GameObjectProxy (Inherited from BaseHandVisualizer)
Handedness (Inherited from BaseHandVisualizer)
HandMaterial
Obsolete.

Hand material to use for hand tracking hand mesh.

HandRenderer

Renderer of the hand mesh.

JointsArray (Inherited from BaseHandVisualizer)
MixedRealityHand (Inherited from BaseHandVisualizer)
PinchStrengthMaterialProperty

Property name for modifying the mesh's appearance based on pinch strength

Methods

Explicit Interface Implementations

IMixedRealityHandJointHandler.OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint,MixedRealityPose>>) UnityEngine.MonoBehaviour.Microsoft#MixedReality#Toolkit#Input#IMixedRealityHandJointHandler#OnHandJointsUpdated(Microsoft.MixedReality.Toolkit.Input.InputEventData{System.Collections.Generic.IDictionary{Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint,Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose}})
IMixedRealityHandJointHandler.OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint,MixedRealityPose>>) (Inherited from BaseHandVisualizer)
IMixedRealityHandMeshHandler.OnHandMeshUpdated(InputEventData<HandMeshInfo>) (Inherited from BaseHandVisualizer)
IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData)

Raised when a source is detected.

IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData)

Raised when a source is detected.

(Inherited from BaseHandVisualizer)
IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData)

Raised when a source is lost.

IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData)

Raised when a source is lost.

(Inherited from BaseHandVisualizer)

Applies to

Продукт Версии
MRTK2 Unity 2018 2.6.0, 2.7.0
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0