Düzenle

Aracılığıyla paylaş


InteractableOnToggleReceiver Class

Definition

An event receiver that listens to toggle events

public ref class InteractableOnToggleReceiver : Microsoft::MixedReality::Toolkit::UI::ReceiverBase
public class InteractableOnToggleReceiver : Microsoft.MixedReality.Toolkit.UI.ReceiverBase
type InteractableOnToggleReceiver = class
    inherit ReceiverBase
Public Class InteractableOnToggleReceiver
Inherits ReceiverBase
Inheritance
InteractableOnToggleReceiver

Constructors

InteractableOnToggleReceiver()

Creates a receiver that raises events for toggle button states

InteractableOnToggleReceiver(UnityEvent)

Creates a receiver that raises events for toggle button states

Fields

OnDeselect

Invoked when toggle is deselected

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

Invoked when toggle is checked

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)

Applies to