mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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
    Implements
    MonoBehaviour
    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, MonoBehaviour

    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

    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

    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

    LocalPressDirection

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

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

    Implements

    MonoBehaviour
    In This Article
    • Properties
      • Bounds
      • Bounds
      • LocalCenter
      • LocalCenter
      • LocalPressDirection
      • LocalPressDirection
    • Implements
    Back to top Generated by DocFX