Class MixedRealityInputModule
Inheritance
MixedRealityInputModule
Implements
IEventSystemHandler
StandaloneInputModule
Assembly: cs.temp.dll.dll
public class MixedRealityInputModule : StandaloneInputModule, IMixedRealityPointerHandler, IMixedRealitySourceStateHandler, IEventSystemHandler, StandaloneInputModule
Fields
List of pointers that need one last frame of updates to remove
Declaration
protected readonly List<MixedRealityInputModule.PointerData> pointerDataToRemove
Field Value
List of pointers that need one last frame of updates to remove
Declaration
protected readonly List<MixedRealityInputModule.PointerData> pointerDataToRemove
Field Value
Mapping from pointer id to event data and click state
Declaration
protected readonly Dictionary<int, MixedRealityInputModule.PointerData> pointerDataToUpdate
Field Value
Mapping from pointer id to event data and click state
Declaration
protected readonly Dictionary<int, MixedRealityInputModule.PointerData> pointerDataToUpdate
Field Value
Properties
Declaration
public IEnumerable<IMixedRealityPointer> ActiveMixedRealityPointers { get; }
Property Value
Declaration
public IEnumerable<IMixedRealityPointer> ActiveMixedRealityPointers { get; }
Property Value
Declaration
public Camera RaycastCamera { get; }
Property Value
Declaration
public Camera RaycastCamera { get; }
Property Value
Methods
Declaration
public override void ActivateModule()
Declaration
public override void ActivateModule()
Declaration
public override void DeactivateModule()
Declaration
public override void DeactivateModule()
Adds MRTK pointer support as mouse input for Unity UI.
Declaration
protected override MouseState GetMousePointerEventData(int pointerId)
Parameters
Type |
Name |
Description |
Int32 |
pointerId |
|
Returns
Type |
Description |
MouseState |
|
Adds MRTK pointer support as mouse input for Unity UI.
Declaration
protected override MouseState GetMousePointerEventData(int pointerId)
Parameters
Type |
Name |
Description |
Int32 |
pointerId |
|
Returns
Type |
Description |
MouseState |
|
Process the active pointers from MixedRealityInputManager and all other Unity input.
Declaration
public override void Process()
Process the active pointers from MixedRealityInputManager and all other Unity input.
Declaration
public override void Process()
Declaration
protected void ResetMousePointerEventData(MixedRealityInputModule.PointerData pointerData)
Parameters
Declaration
protected void ResetMousePointerEventData(MixedRealityInputModule.PointerData pointerData)
Parameters
Declaration
protected PointerEventData.FramePressState StateForPointer(MixedRealityInputModule.PointerData pointerData)
Parameters
Returns
Type |
Description |
PointerEventData.FramePressState |
|
Declaration
protected PointerEventData.FramePressState StateForPointer(MixedRealityInputModule.PointerData pointerData)
Parameters
Returns
Type |
Description |
PointerEventData.FramePressState |
|
Declaration
protected void UpdateMousePointerEventData(MixedRealityInputModule.PointerData pointerData)
Parameters
Declaration
protected void UpdateMousePointerEventData(MixedRealityInputModule.PointerData pointerData)
Parameters
Explicit Interface Implementations
Declaration
void IMixedRealityPointerHandler.OnPointerClicked(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerClicked(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerDown(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerDown(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerDragged(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerDragged(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerUp(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerUp(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData eventData)
Parameters
Declaration
void IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData eventData)
Parameters
Declaration
void IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData eventData)
Parameters
Declaration
void IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData eventData)
Parameters
Implements
IEventSystemHandler
StandaloneInputModule