Class InputEventData
Describes an Input Event that has a source id.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class InputEventData : BaseInputEventData
Constructors
InputEventData(EventSystem)
Constructor.
Declaration
public InputEventData(EventSystem eventSystem)
Parameters
| Type | Name | Description |
|---|---|---|
| EventSystem | eventSystem | Typically will be EventSystems.EventSystem.current |
Properties
Handedness
Handedness of the IMixedRealityInputSource.
Declaration
public Handedness Handedness { get; }
Property Value
| Type | Description |
|---|---|
| Handedness |
Methods
Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction)
Used to initialize/reset the event and populate the data.
Declaration
public void Initialize(IMixedRealityInputSource inputSource, Handedness handedness, MixedRealityInputAction inputAction)
Parameters
| Type | Name | Description |
|---|---|---|
| IMixedRealityInputSource | inputSource | |
| Handedness | handedness | |
| MixedRealityInputAction | inputAction |