Edit

Share via


SourcePoseEventData<T> Class

Definition

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.BaseEventData
SourcePoseEventData<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)

Populates the event with data.

(Inherited from SourceStateEventData)
Initialize(IMixedRealityInputSource, IMixedRealityController, T)

Populates the event with data.

Applies to