BaseNearInteractionTouchable 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.
Base class for all NearInteractionTouchables.
public ref class BaseNearInteractionTouchable abstract : UnityEngine::MonoBehaviour
public abstract class BaseNearInteractionTouchable : UnityEngine.MonoBehaviour
type BaseNearInteractionTouchable = class
inherit MonoBehaviour
Public MustInherit Class BaseNearInteractionTouchable
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourBaseNearInteractionTouchable
- Derived
Remarks
Add this component to objects to raise touch events when in [PokePointer](xref:Microsoft.MixedReality.Toolkit.Input.PokePointer) proximity.
The object layer must be included of the [PokeLayerMasks](xref:Microsoft.MixedReality.Toolkit.Input.PokePointer.PokeLayerMasks).</p>
Constructors
BaseNearInteractionTouchable() |
Fields
debounceThreshold | |
eventsToReceive |
Properties
DebounceThreshold |
Distance in front of the surface at which you will receive a touch completed event. |
EventsToReceive |
The type of event to receive. |
Methods
DistanceToTouchable(Vector3, Vector3) | |
OnValidate() |