NearInteractionTouchableVolume 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.
Add a NearInteractionTouchableVolume to your scene and configure a touchable volume in order to get PointerDown and PointerUp events whenever a PokePointer collides with this volume.
public ref class NearInteractionTouchableVolume : Microsoft::MixedReality::Toolkit::Input::BaseNearInteractionTouchable
[UnityEngine.AddComponentMenu("Scripts/MRTK/Services/NearInteractionTouchableVolume")]
public class NearInteractionTouchableVolume : Microsoft.MixedReality.Toolkit.Input.BaseNearInteractionTouchable
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Services/NearInteractionTouchableVolume")>]
type NearInteractionTouchableVolume = class
inherit BaseNearInteractionTouchable
Public Class NearInteractionTouchableVolume
Inherits BaseNearInteractionTouchable
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
NearInteractionTouchableVolume() |
Fields
debounceThreshold | (Inherited from BaseNearInteractionTouchable) |
eventsToReceive | (Inherited from BaseNearInteractionTouchable) |
Properties
ColliderEnabled |
Is the touchable collider enabled and active in the scene. |
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) | UnityEngine.MonoBehaviour.DistanceToTouchable(UnityEngine.Vector3,UnityEngine.Vector3@) |
OnValidate() |