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

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


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
Inheritance
UnityEngine.MonoBehaviour
RiggedHandVisualizer
Implements

Constructors

Fields

DeformPosition
IndexRoot

Index metacarpal transform (index finger root)

IndexRootIsMetacarpal
MiddleRoot

Middle metacarpal transform (middle finger root)

MiddleRootIsMetacarpal
ModelFingerPointing
ModelPalmAtLeapWrist
ModelPalmFacing
Palm

Palm transform

PinkyRoot

Pinky metacarpal transform (pinky finger root)

PinkyRootIsMetacarpal
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.

GameObjectProxy

The GameObject reference for this controller.

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}})
IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData)

Raised when a source is detected.

IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData)

Raised when a source is lost.

Applies to

Продукт Версии
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4