mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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
    MonoBehaviour
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class HandBounds : MonoBehaviour, IMixedRealitySourceStateHandler, IMixedRealityHandJointHandler, IEventSystemHandler, MonoBehaviour

    Properties

    Bounds

    Accessor for the bounds associated with a handedness.

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

    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

    DrawBoundsGizmo

    Should a gizmo be drawn to represent the hand bounds.

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

    Methods

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

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

    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)

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

    OnSourceDetected(SourceStateEventData)

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

    OnSourceLost(SourceStateEventData)

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

    OnSourceLost(SourceStateEventData)

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

    Implements

    IMixedRealitySourceStateHandler
    IMixedRealityHandJointHandler
    IEventSystemHandler
    MonoBehaviour
    In This Article
    • Properties
      • Bounds
      • Bounds
      • DrawBoundsGizmo
      • DrawBoundsGizmo
    • Methods
      • OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>>)
      • OnHandJointsUpdated(InputEventData<IDictionary<TrackedHandJoint, MixedRealityPose>>)
      • OnSourceDetected(SourceStateEventData)
      • OnSourceDetected(SourceStateEventData)
      • OnSourceLost(SourceStateEventData)
      • OnSourceLost(SourceStateEventData)
    • Implements
    Back to top Generated by DocFX