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