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

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

    Show / Hide Table of Contents

    Class NearInteractionTouchableUnityUI

    Use a Unity UI RectTransform as touchable surface.

    Inheritance
    Object
    BaseNearInteractionTouchable
    NearInteractionTouchableSurface
    NearInteractionTouchableUnityUI
    Inherited Members
    BaseNearInteractionTouchable.eventsToReceive
    BaseNearInteractionTouchable.EventsToReceive
    BaseNearInteractionTouchable.debounceThreshold
    BaseNearInteractionTouchable.DebounceThreshold
    BaseNearInteractionTouchable.OnValidate()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class NearInteractionTouchableUnityUI : NearInteractionTouchableSurface

    Constructors

    NearInteractionTouchableUnityUI()

    Declaration
    public NearInteractionTouchableUnityUI()

    Properties

    Bounds

    Declaration
    public override Vector2 Bounds { get; }
    Property Value
    Type Description
    Vector2
    Overrides
    NearInteractionTouchableSurface.Bounds

    Instances

    Declaration
    public static IReadOnlyList<NearInteractionTouchableUnityUI> Instances { get; }
    Property Value
    Type Description
    IReadOnlyList<NearInteractionTouchableUnityUI>

    LocalCenter

    Declaration
    public override Vector3 LocalCenter { get; }
    Property Value
    Type Description
    Vector3
    Overrides
    NearInteractionTouchableSurface.LocalCenter

    LocalPressDirection

    Declaration
    public override Vector3 LocalPressDirection { get; }
    Property Value
    Type Description
    Vector3
    Overrides
    NearInteractionTouchableSurface.LocalPressDirection

    Methods

    DistanceToTouchable(Vector3, out Vector3)

    Declaration
    public override float DistanceToTouchable(Vector3 samplePoint, out Vector3 normal)
    Parameters
    Type Name Description
    Vector3 samplePoint
    Vector3 normal
    Returns
    Type Description
    Single
    Overrides
    BaseNearInteractionTouchable.DistanceToTouchable(Vector3, out Vector3)

    OnDisable()

    Declaration
    protected void OnDisable()

    OnEnable()

    Declaration
    protected void OnEnable()
    Back to top Generated by DocFX