InteractableOnTouchReceiver 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.
A basic touch event receiver for detecting Physical Touch state changes in the Interactable When the physical touch states change, these events are triggered.
public ref class InteractableOnTouchReceiver : Microsoft::MixedReality::Toolkit::UI::ReceiverBase
public class InteractableOnTouchReceiver : Microsoft.MixedReality.Toolkit.UI.ReceiverBase
type InteractableOnTouchReceiver = class
inherit ReceiverBase
Public Class InteractableOnTouchReceiver
Inherits ReceiverBase
- Inheritance
Constructors
InteractableOnTouchReceiver() |
Receiver for raising touch begin and end events |
InteractableOnTouchReceiver(UnityEvent) |
Receiver for raising touch begin and end events |
Fields
OnTouchEnd |
Invoked when touch has left the object |
uEvent | (Inherited from ReceiverBase) |
Properties
Event |
Each Receiver has a base Event it raises, (in addition to others). (Inherited from ReceiverBase) |
HideUnityEvents |
Defines whether Unity Events should be hidden in inspector for this type of EventReceiver (Inherited from ReceiverBase) |
Host |
Targeted component for Event Receiver at runtime (Inherited from ReceiverBase) |
Name |
Name of Event Receiver (Inherited from ReceiverBase) |
OnTouchStart |
Invoked when touch begins |
Methods
OnClick(InteractableStates, Interactable, IMixedRealityPointer) |
A click event happened (Inherited from ReceiverBase) |
OnUpdate(InteractableStates, Interactable) |
The state has changed |
OnVoiceCommand(InteractableStates, Interactable, String, Int32, Int32) |
A voice command was called (Inherited from ReceiverBase) |