Class MixedRealityPointerEventData
Describes an Input Event that involves a tap, click, or touch.
Implements
BaseEventData
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityPointerEventData : InputEventData, BaseEventData
Constructors
MixedRealityPointerEventData(EventSystem)
Declaration
public MixedRealityPointerEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
MixedRealityPointerEventData(EventSystem)
Declaration
public MixedRealityPointerEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
Properties
Count
Number of Clicks, Taps, or Presses that triggered the event.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 |
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 |
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, 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 |
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 |
Implements
BaseEventData