編輯

共用方式為


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

public ref class RiggedHandVisualizer : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Input::IMixedRealityControllerVisualizer, Microsoft::MixedReality::Toolkit::Input::IMixedRealityHandJointHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySourceStateHandler, UnityEngine::EventSystems::IEventSystemHandler
public ref class RiggedHandVisualizer : Microsoft::MixedReality::Toolkit::Input::BaseHandVisualizer
public class RiggedHandVisualizer : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.Input.IMixedRealityControllerVisualizer, Microsoft.MixedReality.Toolkit.Input.IMixedRealityHandJointHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealitySourceStateHandler, UnityEngine.EventSystems.IEventSystemHandler
public class RiggedHandVisualizer : Microsoft.MixedReality.Toolkit.Input.BaseHandVisualizer
type RiggedHandVisualizer = class
    inherit MonoBehaviour
    interface IMixedRealityControllerVisualizer
    interface IMixedRealitySourceStateHandler
    interface IEventSystemHandler
    interface IMixedRealityHandJointHandler
type RiggedHandVisualizer = class
    inherit BaseHandVisualizer
Public Class RiggedHandVisualizer
Inherits MonoBehaviour
Implements IEventSystemHandler, IMixedRealityControllerVisualizer, IMixedRealityHandJointHandler, IMixedRealitySourceStateHandler
Public Class RiggedHandVisualizer
Inherits BaseHandVisualizer
Inheritance
UnityEngine.MonoBehaviour
RiggedHandVisualizer
Inheritance
UnityEngine.MonoBehaviour
RiggedHandVisualizer
Implements

Constructors

RiggedHandVisualizer()

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

OnHandMeshUpdated(InputEventData<HandMeshInfo>) (Inherited from BaseHandVisualizer)
Start()
TryGetJointTransform(TrackedHandJoint, Transform)
Obsolete.
(Inherited from BaseHandVisualizer)
Update() (Inherited from BaseHandVisualizer)
UpdateHandJoints()
UpdateHandMesh() (Inherited from BaseHandVisualizer)

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