編輯

共用方式為


Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement Namespace

Classes

BaseEventReceiver

Base class for event receivers.

BaseInteractionEventConfiguration

Base class for interaction event configuration. An event configuration maps to a single Interaction State.

BaseInteractiveElement

Base class for an Interactive Element. Contains state management methods, event management and the state setting logic for some Core Interaction States.

ClickedEvents

The event configuration for the Clicked InteractionState.

ClickedReceiver

The internal event receiver for the event defined in the Clicked Interaction Event Configuration.

CompressableButton

A button that can be pushed via direct touch.

EventReceiverManager

Manages the events contained in states within an Interaction Element.

FocusEvents

The event configuration for the Focus InteractionState.

FocusInteractionEvent

A Unity event with FocusEventData. This event is used in the event configuration for the Focus state.

FocusReceiver

The internal event receiver for the events defined in the Focus Interaction Event Configuration.

InteractionState

The container that represents a single Interaction State. This class is utilized by the BaseInteractiveElement MonoBehaviour.

InteractionStateActiveEvent

A Unity event with an Interaction State as event data. The Interaction State represents the state that was activated or set on. This event is used in the StateManager when a state is set on/activated.

InteractionStateInactiveEvent

A Unity event with two Interaction States as event data. The first Interaction State represents the state that was deactivated and the second is the state that is currently active. This event is used in the StateManager when a state is set to off/deactivated.

InteractiveElement

A simplified centralized entry point to the MRTK input system. Contains state management methods, event management and the state setting logic for some Core Interaction States.

KeywordEvent

A container for a keyword and its associated Unity event. This container is utilized in SpeechKeywordEvents.

PressedNearEvents

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

PressedNearReceiver

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

SelectFarEvents

The event configuration for the SelectFar InteractionState.

SelectFarInteractionEvent

A Unity event with MixedRealityPointerEventData. This event is used in the event configuration for the SelectFar state.

SelectFarReceiver

The internal event receiver for the events defined in the SelectFar Interaction Event Configuration.

SpeechInteractionEvent

A Unity event with SpeechEventData. This event is used in the event configuration for the SpeechKeyword state.

SpeechKeywordEvents

The event configuration for the SpeechKeyword InteractionState.

SpeechKeywordReceiver

The internal event receiver for the events defined in the SpeechKeyword Interaction Event Configuration.

StateEvents

The default event configuration for an InteractionState.

StateManager

Manages the state values of Interaction States within BaseInteractiveElement's States list. This class contains helper methods for setting, getting and creating new Interaction States for the States list.

StateReceiver

The internal event receiver for the events defined in the State Interaction Event Configuration.

ToggleOffEvents

The event configuration for the ToggleOff InteractionState.

ToggleOffReceiver

The internal event receiver for the event defined in the ToggleOff Interaction Event Configuration.

ToggleOnEvents

The event configuration for the ToggleOn InteractionState.

ToggleOnReceiver

The internal event receiver for the event defined in the ToggleOn Interaction Event Configuration.

TouchEvents

The event configuration for the Touch InteractionState.

TouchInteractionEvent

A Unity event with HandTrackingInputEventData. This event is used in the event configuration for the Touch state.

TouchReceiver

The internal event receiver for the events defined in the TouchEvents Configuration.

Interfaces

IStateEventConfig

Enums

CompressableButton.SpaceMode

Enum for defining space of plane distances.

CoreInteractionState

A state with already defined state settting logic within an Interactive Element is considered a Core Interaction State.

InteractionType

The type of interaction an InteractionState is associated with. Utilized by the InteractionState class.