Class InputEventData<T>
Describes and input event with a specific type.
Implements
BaseEventData
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class InputEventData<T> : InputEventData, BaseEventData
Type Parameters
Name | Description |
---|---|
T |
Constructors
InputEventData(EventSystem)
Declaration
public InputEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
InputEventData(EventSystem)
Declaration
public InputEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
Properties
InputData
The input data of the event.
Declaration
public T InputData { get; }
Property Value
Type | Description |
---|---|
T |
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 |
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 |
Implements
BaseEventData