Redigera

Dela via


IMixedRealityControllerPoseSynchronizer Interface

Definition

Basic interface for synchronizing to a controller pose.

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
public interface 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
type IMixedRealityControllerPoseSynchronizer = interface
    interface IMixedRealitySourcePoseHandler
    interface IMixedRealitySourceStateHandler
    interface IEventSystemHandler
    interface IMixedRealityInputHandler
    interface IMixedRealityBaseInputHandler
    interface IMixedRealityInputHandler<single>
    interface IMixedRealityInputHandler<Vector2>
    interface IMixedRealityInputHandler<Vector3>
    interface IMixedRealityInputHandler<Quaternion>
    interface IMixedRealityInputHandler<MixedRealityPose>
Public Interface IMixedRealityControllerPoseSynchronizer
Implements IEventSystemHandler, IMixedRealityInputHandler, IMixedRealityInputHandler(Of MixedRealityPose), IMixedRealityInputHandler(Of Quaternion), IMixedRealityInputHandler(Of Single), IMixedRealityInputHandler(Of Vector2), IMixedRealityInputHandler(Of Vector3), IMixedRealitySourcePoseHandler
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