InteractableOnClickReceiver 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 receiver for detecting clicks
public ref class InteractableOnClickReceiver : Microsoft::MixedReality::Toolkit::UI::ReceiverBase
public class InteractableOnClickReceiver : Microsoft.MixedReality.Toolkit.UI.ReceiverBase
type InteractableOnClickReceiver = class
inherit ReceiverBase
Public Class InteractableOnClickReceiver
Inherits ReceiverBase
- Inheritance
Constructors
InteractableOnClickReceiver() |
Creates receiver for raising OnClick events |
InteractableOnClickReceiver(UnityEvent) |
Creates receiver for raising OnClick events |
Fields
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) |
OnClicked |
Invoked on pointer clicked |
Methods
OnClick(InteractableStates, Interactable, IMixedRealityPointer) |
A click event happened |
OnUpdate(InteractableStates, Interactable) |
The state has changed |
OnVoiceCommand(InteractableStates, Interactable, String, Int32, Int32) |
A voice command was called (Inherited from ReceiverBase) |