Bearbeiten

Freigeben über


PressedNearEvents Class

Definition

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

public ref class PressedNearEvents : Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::BaseInteractionEventConfiguration
public class PressedNearEvents : Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.BaseInteractionEventConfiguration
type PressedNearEvents = class
    inherit BaseInteractionEventConfiguration
Public Class PressedNearEvents
Inherits BaseInteractionEventConfiguration
Inheritance

Constructors

PressedNearEvents()

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