mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class NearInteractionTouchableUnityUI

    Use a Unity UI RectTransform as touchable surface.

    Inheritance
    Object
    BaseNearInteractionTouchable
    NearInteractionTouchableSurface
    NearInteractionTouchableUnityUI
    Implements
    MonoBehaviour
    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, MonoBehaviour

    Constructors

    NearInteractionTouchableUnityUI()

    Declaration
    public NearInteractionTouchableUnityUI()

    NearInteractionTouchableUnityUI()

    Declaration
    public NearInteractionTouchableUnityUI()

    Properties

    Bounds

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

    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>

    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

    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

    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)

    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()

    OnDisable()

    Declaration
    protected void OnDisable()

    OnEnable()

    Declaration
    protected void OnEnable()

    OnEnable()

    Declaration
    protected void OnEnable()

    Implements

    MonoBehaviour
    In This Article
    • Constructors
      • NearInteractionTouchableUnityUI()
      • NearInteractionTouchableUnityUI()
    • Properties
      • Bounds
      • Bounds
      • Instances
      • Instances
      • LocalCenter
      • LocalCenter
      • LocalPressDirection
      • LocalPressDirection
    • Methods
      • DistanceToTouchable(Vector3, out Vector3)
      • DistanceToTouchable(Vector3, out Vector3)
      • OnDisable()
      • OnDisable()
      • OnEnable()
      • OnEnable()
    • Implements
    Back to top Generated by DocFX