日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    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, calculated in global-axis-aligned space.

    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

    DrawLocalBoundsGizmo

    Should a gizmo be drawn to represent the locally-calculated hand bounds.

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

    LocalBounds

    Accessor for the bounds associated with a handedness, calculated in local hand-space, locally axis aligned.

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

    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