IMixedRealitySourcePoseHandler.OnSourcePoseChanged Method
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.
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
- eventData
- SourcePoseEventData<TrackingState>
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
- eventData
- SourcePoseEventData<MixedRealityPose>
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>