Modifica

Condividi tramite


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 class RiggedHandVisualizer : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.Input.IMixedRealityControllerVisualizer, Microsoft.MixedReality.Toolkit.Input.IMixedRealityHandJointHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealitySourceStateHandler, UnityEngine.EventSystems.IEventSystemHandler
type RiggedHandVisualizer = class
    inherit MonoBehaviour
    interface IMixedRealityControllerVisualizer
    interface IMixedRealitySourceStateHandler
    interface IEventSystemHandler
    interface IMixedRealityHandJointHandler
Public Class RiggedHandVisualizer
Inherits MonoBehaviour
Implements IEventSystemHandler, IMixedRealityControllerVisualizer, IMixedRealityHandJointHandler, IMixedRealitySourceStateHandler
Inheritance
UnityEngine.MonoBehaviour
RiggedHandVisualizer
Implements

Constructors

RiggedHandVisualizer()

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