InputEventData<T> Class

Definition

Describes and input event with a specific type.

C++
generic <typename T>
public ref class InputEventData : Microsoft::MixedReality::Toolkit::Input::InputEventData

Type Parameters

T
Inheritance
UnityEngine.EventSystems.BaseEventData
InputEventData<T>
Derived

Constructors

Properties

EventTime

The UTC time at which the event occurred.

(Inherited from BaseInputEventData)
Handedness

Handedness of the IMixedRealityInputSource.

(Inherited from InputEventData)
InputData

The input data of the event.

InputSource

The source the input event originates from.

(Inherited from BaseInputEventData)
MixedRealityInputAction

The input action for this event.

(Inherited from BaseInputEventData)
SourceId

The id of the source the event is from, for instance the hand id.

(Inherited from BaseInputEventData)

Methods

BaseInitialize(IMixedRealityInputSource, MixedRealityInputAction)

Used to initialize/reset the event and populate the data.

(Inherited from BaseInputEventData)
Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction, T)

Used to initialize/reset the event and populate the data.

Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction)

Used to initialize/reset the event and populate the data.

(Inherited from InputEventData)

Applies to

Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0