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.

C++
public:
 void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<Microsoft::MixedReality::Toolkit::TrackingState> ^ eventData);

Parameters

Applies to

MRTK2 Unity 2018 2.7.0 otras versiones
Producto Versiones
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose>)

Raised when the source pose is changed.

C++
public:
 void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<Microsoft::MixedReality::Toolkit::Utilities::MixedRealityPose> ^ eventData);

Parameters

Applies to

MRTK2 Unity 2018 2.7.0 otras versiones
Producto Versiones
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

OnSourcePoseChanged(SourcePoseEventData<Quaternion>)

Raised when the source rotation is changed.

C++
public:
 void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<UnityEngine::Quaternion> ^ eventData);

Parameters

eventData
SourcePoseEventData<UnityEngine.Quaternion>

Applies to

MRTK2 Unity 2018 2.7.0 otras versiones
Producto Versiones
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

OnSourcePoseChanged(SourcePoseEventData<Vector2>)

Raised when the source position is changed.

C++
public:
 void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<UnityEngine::Vector2> ^ eventData);

Parameters

eventData
SourcePoseEventData<UnityEngine.Vector2>

Applies to

MRTK2 Unity 2018 2.7.0 otras versiones
Producto Versiones
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

OnSourcePoseChanged(SourcePoseEventData<Vector3>)

Raised when the source position is changed.

C++
public:
 void OnSourcePoseChanged(Microsoft::MixedReality::Toolkit::Input::SourcePoseEventData<UnityEngine::Vector3> ^ eventData);

Parameters

eventData
SourcePoseEventData<UnityEngine.Vector3>

Applies to

MRTK2 Unity 2018 2.7.0 otras versiones
Producto Versiones
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0