Class MixedRealityPointerEventData
Describes an Input Event that involves a tap, click, or touch.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityPointerEventData : InputEventData
  Constructors
MixedRealityPointerEventData(EventSystem)
Constructor.
Declaration
public MixedRealityPointerEventData(EventSystem eventSystem)
  Parameters
| Type | Name | Description | 
|---|---|---|
| EventSystem | eventSystem | Typically will be EventSystems.EventSystem.current  | 
      
Properties
Count
Number of Clicks, Taps, or Presses that triggered the event.
Declaration
public int Count { get; }
  Property Value
| Type | Description | 
|---|---|
| Int32 | 
Pointer
Pointer for the Input Event
Declaration
public IMixedRealityPointer Pointer { get; }
  Property Value
| Type | Description | 
|---|---|
| IMixedRealityPointer | 
Methods
Initialize(IMixedRealityPointer, Handedness, MixedRealityInputAction, Int32)
Used to initialize/reset the event and populate the data.
Declaration
public void Initialize(IMixedRealityPointer pointer, Handedness handedness, MixedRealityInputAction inputAction, int count = 0)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IMixedRealityPointer | pointer | |
| Handedness | handedness | |
| MixedRealityInputAction | inputAction | |
| Int32 | count | 
Initialize(IMixedRealityPointer, MixedRealityInputAction, Handedness, IMixedRealityInputSource, Int32)
Used to initialize/reset the event and populate the data.
Declaration
public void Initialize(IMixedRealityPointer pointer, MixedRealityInputAction inputAction, Handedness handedness = null, IMixedRealityInputSource inputSource = null, int count = 0)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IMixedRealityPointer | pointer | |
| MixedRealityInputAction | inputAction | |
| Handedness | handedness | |
| IMixedRealityInputSource | inputSource | |
| Int32 | count |