MixedRealityInputModule Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class MixedRealityInputModule : UnityEngine::EventSystems::StandaloneInputModule, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySourceStateHandler, UnityEngine::EventSystems::IEventSystemHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/Services/MixedRealityInputModule")]
[UnityEngine.RequireComponent(typeof(UnityEngine.Camera))]
public class MixedRealityInputModule : UnityEngine.EventSystems.StandaloneInputModule, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealitySourceStateHandler, UnityEngine.EventSystems.IEventSystemHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Services/MixedRealityInputModule")>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.Camera))>]
type MixedRealityInputModule = class
inherit StandaloneInputModule
interface IMixedRealityPointerHandler
interface IEventSystemHandler
interface IMixedRealitySourceStateHandler
Public Class MixedRealityInputModule
Inherits StandaloneInputModule
Implements IEventSystemHandler, IMixedRealityPointerHandler, IMixedRealitySourceStateHandler
- Inheritance
-
UnityEngine.EventSystems.StandaloneInputModuleMixedRealityInputModule
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute
- Implements
-
IMixedRealityPointerHandler IMixedRealitySourceStateHandler Unity
Engine. Event Systems. IEvent System Handler
pointer |
List of pointers that need one last frame of updates to remove |
pointer |
Mapping from pointer id to event data and click state |
Active |
|
Manual |
Whether the input module is auto initialized by event system or requires a manual call to Initialize() |
Process |
Whether the input module should pause processing temporarily |
Raycast |
Activate |
UnityEngine.EventSystems.StandaloneInputModule.ActivateModule |
Deactivate |
UnityEngine.EventSystems.StandaloneInputModule.DeactivateModule |
Get |
Adds MRTK pointer support as mouse input for Unity UI. |
Initialize() |
Initialize the input module. |
Is |
UnityEngine.EventSystems.StandaloneInputModule.IsModuleSupported |
Process() |
Process the active pointers from MixedRealityInputManager and all other Unity input. |
Reset |
|
State |
|
Suspend() |
Suspend the input module when a runtime profile change is about to happen. |
Update |
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 |