Edytuj

Udostępnij za pośrednictwem


PressedNearReceiver Class

Definition

The internal event receiver for the events defined in the PressedNear Interaction Event Configuration. The PressedNear state is specific to the CompressableButton class.

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

Constructors

PressedNearReceiver(BaseInteractionEventConfiguration)

Constructor for an event receiver.

Properties

EventConfiguration

The event configuration for this event receiver.

(Inherited from BaseEventReceiver)
StateName

The name of the state this event receiver is watching.

(Inherited from BaseEventReceiver)

Methods

OnUpdate(StateManager, BaseEventData)

Update an event receiver.

Applies to