Modifica

Condividi tramite


InputEventData<T> Class

Definition

Describes and input event with a specific type.

generic <typename T>
public ref class InputEventData : Microsoft::MixedReality::Toolkit::Input::InputEventData
public class InputEventData<T> : Microsoft.MixedReality.Toolkit.Input.InputEventData
type InputEventData<'T> = class
    inherit InputEventData
Public Class InputEventData(Of T)
Inherits InputEventData

Type Parameters

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

Constructors

InputEventData<T>(EventSystem)

Constructor.

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