NearInteractionTouchableUnityUI Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Use a Unity UI RectTransform as touchable surface.
public ref class NearInteractionTouchableUnityUI : Microsoft::MixedReality::Toolkit::Input::NearInteractionTouchableSurface
[UnityEngine.AddComponentMenu("Scripts/MRTK/Services/NearInteractionTouchableUnityUI")]
[UnityEngine.RequireComponent(typeof(UnityEngine.RectTransform))]
public class NearInteractionTouchableUnityUI : Microsoft.MixedReality.Toolkit.Input.NearInteractionTouchableSurface
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Services/NearInteractionTouchableUnityUI")>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.RectTransform))>]
type NearInteractionTouchableUnityUI = class
inherit NearInteractionTouchableSurface
Public Class NearInteractionTouchableUnityUI
Inherits NearInteractionTouchableSurface
- Inheritance
-
UnityEngine.MonoBehaviourNearInteractionTouchableUnityUI
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute
Constructors
NearInteractionTouchableUnityUI() |
Fields
debounceThreshold | (Inherited from BaseNearInteractionTouchable) |
eventsToReceive | (Inherited from BaseNearInteractionTouchable) |
Properties
Bounds | |
DebounceThreshold |
Distance in front of the surface at which you will receive a touch completed event. (Inherited from BaseNearInteractionTouchable) |
EventsToReceive |
The type of event to receive. (Inherited from BaseNearInteractionTouchable) |
Instances | |
LocalCenter | |
LocalPressDirection |
Methods
DistanceToTouchable(Vector3, Vector3) | UnityEngine.MonoBehaviour.DistanceToTouchable(UnityEngine.Vector3,UnityEngine.Vector3@) |
OnDisable() | |
OnEnable() | |
OnValidate() | (Inherited from BaseNearInteractionTouchable) |