Class SourcePoseEventData<T>
Describes a source change event.
Implements
BaseEventData
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class SourcePoseEventData<T> : SourceStateEventData, BaseEventData
Type Parameters
Name | Description |
---|---|
T |
Remarks
Source State events do not have an associated MixedRealityInputAction.
Constructors
SourcePoseEventData(EventSystem)
Declaration
public SourcePoseEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
SourcePoseEventData(EventSystem)
Declaration
public SourcePoseEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
Properties
SourceData
The new position of the input source.
Declaration
public T SourceData { get; }
Property Value
Type | Description |
---|---|
T |
SourceData
The new position of the input source.
Declaration
public T SourceData { get; }
Property Value
Type | Description |
---|---|
T |
Methods
Initialize(IMixedRealityInputSource, IMixedRealityController, T)
Populates the event with data.
Declaration
public void Initialize(IMixedRealityInputSource inputSource, IMixedRealityController controller, T data)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSource | inputSource | |
IMixedRealityController | controller | |
T | data |
Initialize(IMixedRealityInputSource, IMixedRealityController, T)
Populates the event with data.
Declaration
public void Initialize(IMixedRealityInputSource inputSource, IMixedRealityController controller, T data)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSource | inputSource | |
IMixedRealityController | controller | |
T | data |
Implements
BaseEventData