We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    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
    In This Article
    Back to top Generated by DocFX