Class BaseInputEventData
Base class of all Input Events.
Inheritance
BaseInputEventData
Implements
BaseEventData
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public abstract class BaseInputEventData : BaseEventData, BaseEventData
Constructors
BaseInputEventData(EventSystem)
Constructor.
Declaration
protected BaseInputEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem | Typically will be EventSystems.EventSystem.current |
BaseInputEventData(EventSystem)
Constructor.
Declaration
protected BaseInputEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem | Typically will be EventSystems.EventSystem.current |
Properties
EventTime
The UTC time at which the event occurred.
Declaration
public DateTime EventTime { get; }
Property Value
Type | Description |
---|---|
DateTime |
EventTime
The UTC time at which the event occurred.
Declaration
public DateTime EventTime { get; }
Property Value
Type | Description |
---|---|
DateTime |
InputSource
The source the input event originates from.
Declaration
public IMixedRealityInputSource InputSource { get; }
Property Value
Type | Description |
---|---|
IMixedRealityInputSource |
InputSource
The source the input event originates from.
Declaration
public IMixedRealityInputSource InputSource { get; }
Property Value
Type | Description |
---|---|
IMixedRealityInputSource |
MixedRealityInputAction
The input action for this event.
Declaration
public MixedRealityInputAction MixedRealityInputAction { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputAction |
MixedRealityInputAction
The input action for this event.
Declaration
public MixedRealityInputAction MixedRealityInputAction { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputAction |
SourceId
The id of the source the event is from, for instance the hand id.
Declaration
public uint SourceId { get; }
Property Value
Type | Description |
---|---|
UInt32 |
SourceId
The id of the source the event is from, for instance the hand id.
Declaration
public uint SourceId { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Methods
BaseInitialize(IMixedRealityInputSource, MixedRealityInputAction)
Used to initialize/reset the event and populate the data.
Declaration
protected void BaseInitialize(IMixedRealityInputSource inputSource, MixedRealityInputAction inputAction)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSource | inputSource | |
MixedRealityInputAction | inputAction |
BaseInitialize(IMixedRealityInputSource, MixedRealityInputAction)
Used to initialize/reset the event and populate the data.
Declaration
protected void BaseInitialize(IMixedRealityInputSource inputSource, MixedRealityInputAction inputAction)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSource | inputSource | |
MixedRealityInputAction | inputAction |
Implements
BaseEventData