Class ControllerPoseSynchronizer
Waits for a controller to be initialized, then synchronizes its transform position to a specified handedness.
Inheritance
ControllerPoseSynchronizer
Implements
MonoBehaviour
IEventSystemHandler
Assembly: cs.temp.dll.dll
public class ControllerPoseSynchronizer : InputSystemGlobalHandlerListener, MonoBehaviour, IMixedRealityControllerPoseSynchronizer, IMixedRealitySourcePoseHandler, IMixedRealitySourceStateHandler, IMixedRealityInputHandler, IMixedRealityBaseInputHandler, IMixedRealityInputHandler<float>, IMixedRealityInputHandler<Vector2>, IMixedRealityInputHandler<Vector3>, IMixedRealityInputHandler<Quaternion>, IMixedRealityInputHandler<MixedRealityPose>, IEventSystemHandler
Fields
Declaration
protected TrackingState TrackingState
Field Value
Declaration
protected TrackingState TrackingState
Field Value
Properties
Declaration
public virtual IMixedRealityController Controller { get; set; }
Property Value
Declaration
public virtual IMixedRealityController Controller { get; set; }
Property Value
Declaration
public bool DestroyOnSourceLost { get; set; }
Property Value
Declaration
public bool DestroyOnSourceLost { get; set; }
Property Value
Declaration
public Handedness Handedness { get; }
Property Value
Type |
Description |
Handedness |
|
Declaration
public Handedness Handedness { get; }
Property Value
Type |
Description |
Handedness |
|
Is the controller this Synchronizer is registered to currently tracked?
Declaration
public bool IsTracked { get; }
Property Value
Is the controller this Synchronizer is registered to currently tracked?
Declaration
public bool IsTracked { get; }
Property Value
Declaration
public MixedRealityInputAction PoseAction { get; set; }
Property Value
Declaration
public MixedRealityInputAction PoseAction { get; set; }
Property Value
Declaration
public bool UseSourcePoseData { get; set; }
Property Value
Declaration
public bool UseSourcePoseData { get; set; }
Property Value
Methods
Declaration
public virtual void OnInputChanged(InputEventData<MixedRealityPose> eventData)
Parameters
Declaration
public virtual void OnInputChanged(InputEventData<MixedRealityPose> eventData)
Parameters
Declaration
public virtual void OnInputChanged(InputEventData<Quaternion> eventData)
Parameters
Declaration
public virtual void OnInputChanged(InputEventData<Quaternion> eventData)
Parameters
Declaration
public virtual void OnInputChanged(InputEventData<float> eventData)
Parameters
Declaration
public virtual void OnInputChanged(InputEventData<float> eventData)
Parameters
Declaration
public virtual void OnInputChanged(InputEventData<Vector2> eventData)
Parameters
Declaration
public virtual void OnInputChanged(InputEventData<Vector2> eventData)
Parameters
Declaration
public virtual void OnInputChanged(InputEventData<Vector3> eventData)
Parameters
Declaration
public virtual void OnInputChanged(InputEventData<Vector3> eventData)
Parameters
Declaration
public virtual void OnInputDown(InputEventData eventData)
Parameters
Declaration
public virtual void OnInputDown(InputEventData eventData)
Parameters
Declaration
public virtual void OnInputUp(InputEventData eventData)
Parameters
Declaration
public virtual void OnInputUp(InputEventData eventData)
Parameters
Declaration
public virtual void OnSourceDetected(SourceStateEventData eventData)
Parameters
Declaration
public virtual void OnSourceDetected(SourceStateEventData eventData)
Parameters
Declaration
public virtual void OnSourceLost(SourceStateEventData eventData)
Parameters
Declaration
public virtual void OnSourceLost(SourceStateEventData eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<TrackingState> eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<TrackingState> eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose> eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<MixedRealityPose> eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<Quaternion> eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<Quaternion> eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<Vector2> eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<Vector2> eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<Vector3> eventData)
Parameters
Declaration
public virtual void OnSourcePoseChanged(SourcePoseEventData<Vector3> eventData)
Parameters
Declaration
protected override void RegisterHandlers()
Overrides
Declaration
protected override void RegisterHandlers()
Overrides
Declaration
protected override void UnregisterHandlers()
Overrides
Declaration
protected override void UnregisterHandlers()
Overrides
Implements
MonoBehaviour
IEventSystemHandler