We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    Interface IMixedRealitySourcePoseHandler

    Interface to implement to react to source

    Inherited Members
    IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData)
    IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData)
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IMixedRealitySourcePoseHandler : IMixedRealitySourceStateHandler, IEventSystemHandler

    Methods

    OnSourcePoseChanged(SourcePoseEventData<TrackingState>)

    Raised when the source pose tracking state is changed.

    Declaration
    void OnSourcePoseChanged(SourcePoseEventData<TrackingState> eventData)
    Parameters
    Type Name Description
    SourcePoseEventData<TrackingState> eventData

    OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose>)

    Raised when the source pose is changed.

    Declaration
    void OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose> eventData)
    Parameters
    Type Name Description
    SourcePoseEventData<MixedRealityPose> eventData

    OnSourcePoseChanged(SourcePoseEventData<Quaternion>)

    Raised when the source rotation is changed.

    Declaration
    void OnSourcePoseChanged(SourcePoseEventData<Quaternion> eventData)
    Parameters
    Type Name Description
    SourcePoseEventData<Quaternion> eventData

    OnSourcePoseChanged(SourcePoseEventData<Vector2>)

    Raised when the source position is changed.

    Declaration
    void OnSourcePoseChanged(SourcePoseEventData<Vector2> eventData)
    Parameters
    Type Name Description
    SourcePoseEventData<Vector2> eventData

    OnSourcePoseChanged(SourcePoseEventData<Vector3>)

    Raised when the source position is changed.

    Declaration
    void OnSourcePoseChanged(SourcePoseEventData<Vector3> eventData)
    Parameters
    Type Name Description
    SourcePoseEventData<Vector3> eventData
    Back to top Generated by DocFX