Edytuj

Udostępnij za pośrednictwem


ColliderNearInteractionTouchable Class

Definition

Caution

Use BaseNearIntearctionTouchable instead of ColliderNearInteractionTouchable

Obsolete base class for all touchables using colliders. Use BaseNearInteractionTouchable instead.

public ref class ColliderNearInteractionTouchable abstract : Microsoft::MixedReality::Toolkit::Input::BaseNearInteractionTouchable
[System.Obsolete("Use BaseNearIntearctionTouchable instead of ColliderNearInteractionTouchable", true)]
[UnityEngine.RequireComponent(typeof(UnityEngine.Collider))]
public abstract class ColliderNearInteractionTouchable : Microsoft.MixedReality.Toolkit.Input.BaseNearInteractionTouchable
[<System.Obsolete("Use BaseNearIntearctionTouchable instead of ColliderNearInteractionTouchable", true)>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.Collider))>]
type ColliderNearInteractionTouchable = class
    inherit BaseNearInteractionTouchable
Public MustInherit Class ColliderNearInteractionTouchable
Inherits BaseNearInteractionTouchable
Inheritance
UnityEngine.MonoBehaviour
ColliderNearInteractionTouchable
Attributes
ObsoleteAttribute UnityEngine.RequireComponentAttribute

Constructors

ColliderNearInteractionTouchable()

Fields

debounceThreshold (Inherited from BaseNearInteractionTouchable)
eventsToReceive (Inherited from BaseNearInteractionTouchable)

Properties

ColliderEnabled
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)
TouchableCollider

Methods

DistanceToTouchable(Vector3, Vector3) (Inherited from BaseNearInteractionTouchable)
OnValidate()

Applies to