SourcePoseEventData<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a source change event.
generic <typename T>
public ref class SourcePoseEventData : Microsoft::MixedReality::Toolkit::Input::SourceStateEventData
public class SourcePoseEventData<T> : Microsoft.MixedReality.Toolkit.Input.SourceStateEventData
type SourcePoseEventData<'T> = class
inherit SourceStateEventData
Public Class SourcePoseEventData(Of T)
Inherits SourceStateEventData
Type Parameters
- T
- Inheritance
-
UnityEngine.EventSystems.BaseEventDataSourcePoseEventData<T>
Remarks
Source State events do not have an associated MixedRealityInputAction.
Constructors
SourcePoseEventData<T>(EventSystem) |
Constructor. |
Properties
Controller | (Inherited from SourceStateEventData) |
EventTime |
The UTC time at which the event occurred. (Inherited from BaseInputEventData) |
InputSource |
The source the input event originates from. (Inherited from BaseInputEventData) |
MixedRealityInputAction |
The input action for this event. (Inherited from BaseInputEventData) |
SourceData |
The new position of the input source. |
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, IMixedRealityController, T) |
Populates the event with data. |
Initialize(IMixedRealityInputSource, IMixedRealityController) |
Populates the event with data. (Inherited from SourceStateEventData) |