MixedRealityInputModule Class

Definition

C++
public ref class MixedRealityInputModule : UnityEngine::EventSystems::StandaloneInputModule, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySourceStateHandler, UnityEngine::EventSystems::IEventSystemHandler
Inheritance
UnityEngine.EventSystems.StandaloneInputModule
MixedRealityInputModule
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute
Implements
IMixedRealityPointerHandler IMixedRealitySourceStateHandler UnityEngine.EventSystems.IEventSystemHandler

Constructors

Fields

pointerDataToRemove

List of pointers that need one last frame of updates to remove

pointerDataToUpdate

Mapping from pointer id to event data and click state

Properties

ActiveMixedRealityPointers
ManualInitializationRequired

Whether the input module is auto initialized by event system or requires a manual call to Initialize()

ProcessPaused

Whether the input module should pause processing temporarily

RaycastCamera

Methods

ActivateModule() UnityEngine.EventSystems.StandaloneInputModule.ActivateModule
DeactivateModule() UnityEngine.EventSystems.StandaloneInputModule.DeactivateModule
GetMousePointerEventData(Int32)

Adds MRTK pointer support as mouse input for Unity UI.

Initialize()

Initialize the input module.

IsModuleSupported() UnityEngine.EventSystems.StandaloneInputModule.IsModuleSupported
Process()

Process the active pointers from MixedRealityInputManager and all other Unity input.

ResetMousePointerEventData(MixedRealityInputModule+PointerData)
StateForPointer(MixedRealityInputModule+PointerData)
Suspend()

Suspend the input module when a runtime profile change is about to happen.

UpdateMousePointerEventData(MixedRealityInputModule+PointerData)

Explicit Interface Implementations

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0