Edit

Bagikan melalui


InteractableOnClickReceiver Class

Definition

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
InteractableOnClickReceiver

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)

Applies to