We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    Class BaseHandVisualizer

    Inheritance
    Object
    BaseHandVisualizer
    Implements
    IMixedRealityHandVisualizer
    IMixedRealityControllerVisualizer
    IMixedRealitySourceStateHandler
    IMixedRealityHandJointHandler
    IMixedRealityHandMeshHandler
    IEventSystemHandler
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class BaseHandVisualizer : MonoBehaviour, IMixedRealityHandVisualizer, IMixedRealityControllerVisualizer, IMixedRealitySourceStateHandler, IMixedRealityHandJointHandler, IMixedRealityHandMeshHandler, IEventSystemHandler

    Fields

    handMeshFilter

    Declaration
    protected MeshFilter handMeshFilter
    Field Value
    Type Description
    MeshFilter

    joints

    Declaration
    protected readonly Dictionary<TrackedHandJoint, Transform> joints
    Field Value
    Type Description
    Dictionary<TrackedHandJoint, Transform>

    Properties

    Controller

    Declaration
    public IMixedRealityController Controller { get; set; }
    Property Value
    Type Description
    IMixedRealityController

    GameObjectProxy

    Declaration
    public GameObject GameObjectProxy { get; }
    Property Value
    Type Description
    GameObject

    Handedness

    Declaration
    public virtual Handedness Handedness { get; set; }
    Property Value
    Type Description
    Handedness

    InputSystem

    The active instance of the input system.

    Declaration
    protected IMixedRealityInputSystem InputSystem { get; }
    Property Value
    Type Description
    IMixedRealityInputSystem

    Methods

    OnHandMeshUpdated(InputEventData<HandMeshInfo>)

    Declaration
    public void OnHandMeshUpdated(InputEventData<HandMeshInfo> eventData)
    Parameters
    Type Name Description
    InputEventData<HandMeshInfo> eventData

    TryGetJointTransform(TrackedHandJoint, out Transform)

    Declaration
    public bool TryGetJointTransform(TrackedHandJoint joint, out Transform jointTransform)
    Parameters
    Type Name Description
    TrackedHandJoint joint
    Transform jointTransform
    Returns
    Type Description
    Boolean

    Explicit Interface Implementations

    IMixedRealityHandJointHandler.OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>>)

    Declaration
    void IMixedRealityHandJointHandler.OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> eventData)
    Parameters
    Type Name Description
    InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>> eventData

    IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData)

    Declaration
    void IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData eventData)
    Parameters
    Type Name Description
    SourceStateEventData eventData

    IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData)

    Declaration
    void IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData eventData)
    Parameters
    Type Name Description
    SourceStateEventData eventData

    Implements

    IMixedRealityHandVisualizer
    IMixedRealityControllerVisualizer
    IMixedRealitySourceStateHandler
    IMixedRealityHandJointHandler
    IMixedRealityHandMeshHandler
    IEventSystemHandler
    Back to top Generated by DocFX