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

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

    Show / Hide Table of Contents

    Class NearInteractionTouchableSurface

    A near interaction object which is a flat surface and can be pressed in one direction.

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

    Properties

    Bounds

    Bounds specify where touchable interactions can occur. They are local bounds on the plane specified by the LocalCenter and LocalPressDirection (as a normal).

    Declaration
    public abstract Vector2 Bounds { get; }
    Property Value
    Type Description
    Vector2

    LocalCenter

    The local center point of interaction. This may be based on a collider position or Unity UI RectTransform.

    Declaration
    public abstract Vector3 LocalCenter { get; }
    Property Value
    Type Description
    Vector3

    LocalPressDirection

    This is the direction that a user will press on this element.

    Declaration
    public abstract Vector3 LocalPressDirection { get; }
    Property Value
    Type Description
    Vector3
    Back to top Generated by DocFX