IMixedRealityControllerPoseSynchronizer Interface

Definition

Basic interface for synchronizing to a controller pose.

C++
public interface class IMixedRealityControllerPoseSynchronizer : Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputHandler<float>, Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputHandler<Microsoft::MixedReality::Toolkit::Utilities::MixedRealityPose>, Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputHandler<UnityEngine::Quaternion>, Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputHandler<UnityEngine::Vector2>, Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputHandler<UnityEngine::Vector3>, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySourcePoseHandler, UnityEngine::EventSystems::IEventSystemHandler
Derived
Implements

Properties

Controller

The current controller reference.

DestroyOnSourceLost

Should this GameObject clean itself up when its controller is lost?

Handedness

The controller handedness this component is synchronized with.

PoseAction

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

UseSourcePoseData

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

Methods

OnInputChanged(InputEventData<T>)

Raised input event updates from the type of input specified in the interface handler implementation.

(Inherited from IMixedRealityInputHandler<T>)
OnInputDown(InputEventData)

Input Down updates from Interactions, Keys, or any other simple input.

(Inherited from IMixedRealityInputHandler)
OnInputUp(InputEventData)

Input Up updates from Interactions, Keys, or any other simple input.

(Inherited from IMixedRealityInputHandler)
OnSourceDetected(SourceStateEventData)

Raised when a source is detected.

(Inherited from IMixedRealitySourceStateHandler)
OnSourceLost(SourceStateEventData)

Raised when a source is lost.

(Inherited from IMixedRealitySourceStateHandler)
OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose>)

Raised when the source pose is changed.

(Inherited from IMixedRealitySourcePoseHandler)
OnSourcePoseChanged(SourcePoseEventData<Quaternion>)

Raised when the source rotation is changed.

(Inherited from IMixedRealitySourcePoseHandler)
OnSourcePoseChanged(SourcePoseEventData<TrackingState>)

Raised when the source pose tracking state is changed.

(Inherited from IMixedRealitySourcePoseHandler)
OnSourcePoseChanged(SourcePoseEventData<Vector2>)

Raised when the source position is changed.

(Inherited from IMixedRealitySourcePoseHandler)
OnSourcePoseChanged(SourcePoseEventData<Vector3>)

Raised when the source position is changed.

(Inherited from IMixedRealitySourcePoseHandler)

Applies to

Produit Versions
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