Düzenle

Aracılığıyla paylaş


InteractableOnPressReceiver Class

Definition

Basic press event receiver

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

Constructors

InteractableOnPressReceiver()

Receiver that raises press and release unity events

InteractableOnPressReceiver(UnityEvent)

Receiver that raises press and release unity events

Fields

InteractionFilter

Specify whether press event is for near or far interaction

OnRelease

Invoked on pointer release

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

Invoked on pointer press

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