BaseNearInteractionTouchable Class

Definition

Base class for all NearInteractionTouchables.

C++
public ref class BaseNearInteractionTouchable abstract : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
BaseNearInteractionTouchable
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

Fields

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

Applies to

Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0