PressedNearEvents Class

Definition

The event configuration for the PressedNear InteractionState. This state is specific to the CompressableButton class.

C++
public ref class PressedNearEvents : Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::BaseInteractionEventConfiguration
Inheritance

Constructors

Fields

OnButtonPressed

Fired when a button is pressed via near interaction.

OnButtonPressHold

Fired when a button is currently being pressed.

OnButtonPressReleased

Fired when a button press is released via near interaction.

Properties

EventReceiver

The associated runtime event receiver for this event configuration.

(Inherited from BaseInteractionEventConfiguration)
StateName

The name of the state associated with this event configuration.

(Inherited from BaseInteractionEventConfiguration)

Applies to

Produkt Wersje
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0