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 HandBounds

    Utility behavior to access the axis aligned bounds of IMixedRealityHands (or the proxy visualizer of IMixedRealityControllers).

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

    Properties

    Bounds

    Accessor for the bounds associated with a handedness.

    Declaration
    public Dictionary<Handedness, Bounds> Bounds { get; }
    Property Value
    Type Description
    Dictionary<Handedness, Bounds>

    DrawBoundsGizmo

    Should a gizmo be drawn to represent the hand bounds.

    Declaration
    public bool DrawBoundsGizmo { get; set; }
    Property Value
    Type Description
    Boolean

    InputSystem

    The active instance of the input system.

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

    Methods

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

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

    OnSourceDetected(SourceStateEventData)

    Raised when a source is detected.

    Declaration
    public void OnSourceDetected(SourceStateEventData eventData)
    Parameters
    Type Name Description
    SourceStateEventData eventData

    OnSourceLost(SourceStateEventData)

    Raised when a source is lost.

    Declaration
    public void OnSourceLost(SourceStateEventData eventData)
    Parameters
    Type Name Description
    SourceStateEventData eventData

    Implements

    IMixedRealitySourceStateHandler
    IMixedRealityHandJointHandler
    IEventSystemHandler
    Back to top Generated by DocFX