Editar

Compartilhar via


IMixedRealitySourcePoseHandler.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:
 void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<Microsoft::MixedReality::Toolkit::TrackingState> ^ eventData);
public 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
Public Sub OnSourcePoseChanged (eventData As SourcePoseEventData(Of TrackingState))

Parameters

Applies to

OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose>)

Raised when the source pose is changed.

public:
 void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<Microsoft::MixedReality::Toolkit::Utilities::MixedRealityPose> ^ eventData);
public 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
Public Sub OnSourcePoseChanged (eventData As SourcePoseEventData(Of MixedRealityPose))

Parameters

Applies to

OnSourcePoseChanged(SourcePoseEventData<Quaternion>)

Raised when the source rotation is changed.

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

Parameters

eventData
SourcePoseEventData<UnityEngine.Quaternion>

Applies to

OnSourcePoseChanged(SourcePoseEventData<Vector2>)

Raised when the source position is changed.

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

Parameters

eventData
SourcePoseEventData<UnityEngine.Vector2>

Applies to

OnSourcePoseChanged(SourcePoseEventData<Vector3>)

Raised when the source position is changed.

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

Parameters

eventData
SourcePoseEventData<UnityEngine.Vector3>

Applies to