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.

    Show / Hide Table of Contents

    Class NearInteractionTouchableUnityUI

    Use a Unity UI RectTransform as touchable surface.

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

    Properties

    Instances

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

    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