편집

다음을 통해 공유


BaseNearInteractionTouchable Class

Definition

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.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

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

Applies to