Editar

Partilhar via


ControllerPoseSynchronizer.OnSourcePoseChanged Method

Definition

Overloads

OnSourcePoseChanged(SourcePoseEventData<TrackingState>)

Raised when the source pose tracking state is changed.

OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose>)

Raised when the source pose is changed.

OnSourcePoseChanged(SourcePoseEventData<Quaternion>)

Raised when the source rotation is changed.

OnSourcePoseChanged(SourcePoseEventData<Vector2>)

Raised when the source position is changed.

OnSourcePoseChanged(SourcePoseEventData<Vector3>)

Raised when the source position is changed.

OnSourcePoseChanged(SourcePoseEventData<TrackingState>)

Raised when the source pose tracking state is changed.

public:
 virtual void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<Microsoft::MixedReality::Toolkit::TrackingState> ^ eventData);
public virtual void OnSourcePoseChanged (Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<Microsoft.MixedReality.Toolkit.TrackingState> eventData);
abstract member OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<Microsoft.MixedReality.Toolkit.TrackingState> -> unit
override this.OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<Microsoft.MixedReality.Toolkit.TrackingState> -> unit
Public Overridable Sub OnSourcePoseChanged (eventData As SourcePoseEventData(Of TrackingState))

Parameters

Implements

Applies to

OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose>)

Raised when the source pose is changed.

public:
 virtual void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<Microsoft::MixedReality::Toolkit::Utilities::MixedRealityPose> ^ eventData);
public virtual void OnSourcePoseChanged (Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose> eventData);
abstract member OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose> -> unit
override this.OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose> -> unit
Public Overridable Sub OnSourcePoseChanged (eventData As SourcePoseEventData(Of MixedRealityPose))

Parameters

Implements

Applies to

OnSourcePoseChanged(SourcePoseEventData<Quaternion>)

Raised when the source rotation is changed.

public:
 virtual void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<UnityEngine::Quaternion> ^ eventData);
public virtual void OnSourcePoseChanged (Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<UnityEngine.Quaternion> eventData);
abstract member OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<UnityEngine.Quaternion> -> unit
override this.OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<UnityEngine.Quaternion> -> unit
Public Overridable Sub OnSourcePoseChanged (eventData As SourcePoseEventData(Of Quaternion))

Parameters

eventData
SourcePoseEventData<UnityEngine.Quaternion>

Implements

Applies to

OnSourcePoseChanged(SourcePoseEventData<Vector2>)

Raised when the source position is changed.

public:
 virtual void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<UnityEngine::Vector2> ^ eventData);
public virtual void OnSourcePoseChanged (Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<UnityEngine.Vector2> eventData);
abstract member OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<UnityEngine.Vector2> -> unit
override this.OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<UnityEngine.Vector2> -> unit
Public Overridable Sub OnSourcePoseChanged (eventData As SourcePoseEventData(Of Vector2))

Parameters

eventData
SourcePoseEventData<UnityEngine.Vector2>

Implements

Applies to

OnSourcePoseChanged(SourcePoseEventData<Vector3>)

Raised when the source position is changed.

public:
 virtual void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<UnityEngine::Vector3> ^ eventData);
public virtual void OnSourcePoseChanged (Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<UnityEngine.Vector3> eventData);
abstract member OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<UnityEngine.Vector3> -> unit
override this.OnSourcePoseChanged : Microsoft.MixedReality.Toolkit.Input.SourcePoseEventData<UnityEngine.Vector3> -> unit
Public Overridable Sub OnSourcePoseChanged (eventData As SourcePoseEventData(Of Vector3))

Parameters

eventData
SourcePoseEventData<UnityEngine.Vector3>

Implements

Applies to