Edit

Bagikan melalui


InteractableOnFocusReceiver Class

Definition

A basic focus event receiver

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

Constructors

InteractableOnFocusReceiver()

Creates receiver that raises focus enter and exit unity events

InteractableOnFocusReceiver(UnityEvent)

Creates receiver that raises focus enter and exit unity events

Fields

OnFocusOff

Raised when focus 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)
OnFocusOn

Raised when focus has entered the object

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)

Applies to