Class SourcePoseEventData<T>
Describes a source change event.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class SourcePoseEventData<T> : SourceStateEventData
Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
Source State events do not have an associated MixedRealityInputAction.
Constructors
SourcePoseEventData(EventSystem)
Constructor.
Declaration
public SourcePoseEventData(EventSystem eventSystem)
Parameters
| Type | Name | Description |
|---|---|---|
| EventSystem | eventSystem | Typically will be EventSystems.EventSystem.current |
Properties
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 |