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 IMixedRealityControllerPoseSynchronizer

    Basic interface for synchronizing to a controller pose.

    Inherited Members
    IMixedRealitySourcePoseHandler.OnSourcePoseChanged(SourcePoseEventData<TrackingState>)
    IMixedRealitySourcePoseHandler.OnSourcePoseChanged(SourcePoseEventData<Vector2>)
    IMixedRealitySourcePoseHandler.OnSourcePoseChanged(SourcePoseEventData<Vector3>)
    IMixedRealitySourcePoseHandler.OnSourcePoseChanged(SourcePoseEventData<Quaternion>)
    IMixedRealitySourcePoseHandler.OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose>)
    IMixedRealitySourceStateHandler.OnSourceDetected(SourceStateEventData)
    IMixedRealitySourceStateHandler.OnSourceLost(SourceStateEventData)
    IMixedRealityInputHandler.OnInputUp(InputEventData)
    IMixedRealityInputHandler.OnInputDown(InputEventData)
    IMixedRealityInputHandler<Single>.OnInputChanged(InputEventData<Single>)
    IMixedRealityInputHandler<Vector2>.OnInputChanged(InputEventData<Vector2>)
    IMixedRealityInputHandler<Vector3>.OnInputChanged(InputEventData<Vector3>)
    IMixedRealityInputHandler<Quaternion>.OnInputChanged(InputEventData<Quaternion>)
    IMixedRealityInputHandler<MixedRealityPose>.OnInputChanged(InputEventData<MixedRealityPose>)
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IMixedRealityControllerPoseSynchronizer : IMixedRealitySourcePoseHandler, IMixedRealitySourceStateHandler, IMixedRealityInputHandler, IMixedRealityBaseInputHandler, IMixedRealityInputHandler<float>, IMixedRealityInputHandler<Vector2>, IMixedRealityInputHandler<Vector3>, IMixedRealityInputHandler<Quaternion>, IMixedRealityInputHandler<MixedRealityPose>, IEventSystemHandler

    Properties

    Controller

    The current controller reference.

    Declaration
    IMixedRealityController Controller { get; set; }
    Property Value
    Type Description
    IMixedRealityController

    DestroyOnSourceLost

    Should this GameObject clean itself up when it's controller is lost?

    Declaration
    bool DestroyOnSourceLost { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    It's up to the implementation to properly destroy the GameObject's this interface will implement.

    Handedness

    The controller handedness to synchronize with.

    Declaration
    Handedness Handedness { get; }
    Property Value
    Type Description
    Handedness

    PoseAction

    The input action that will drive the Transform's pose, position, or rotation.

    Declaration
    MixedRealityInputAction PoseAction { get; set; }
    Property Value
    Type Description
    MixedRealityInputAction

    UseSourcePoseData

    Should the Transform's position be driven from the source pose or from input handler?

    Declaration
    bool UseSourcePoseData { get; set; }
    Property Value
    Type Description
    Boolean
    Back to top Generated by DocFX