Düzenle

Aracılığıyla paylaş


InputEventData Class

Definition

Describes an Input Event that has a source id.

public ref class InputEventData : Microsoft::MixedReality::Toolkit::Input::BaseInputEventData
public class InputEventData : Microsoft.MixedReality.Toolkit.Input.BaseInputEventData
type InputEventData = class
    inherit BaseInputEventData
Public Class InputEventData
Inherits BaseInputEventData
Inheritance
UnityEngine.EventSystems.BaseEventData
InputEventData
Derived

Constructors

InputEventData(EventSystem)

Constructor.

Properties

EventTime

The UTC time at which the event occurred.

(Inherited from BaseInputEventData)
Handedness

Handedness of the IMixedRealityInputSource.

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)

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

Applies to