The TrackedPoseDriver component applies the current Pose value of a tracked device to the transform of the GameObject.
TrackedPoseDriver can track multiple types of devices including XR HMDs, controllers, and remotes.
Inheritance
TrackedPoseDriver
[Serializable]
[AddComponentMenu("XR/Tracked Pose Driver (New Input System)")]
public class TrackedPoseDriver : MonoBehaviour
Properties
Declaration
public InputAction positionAction { get; set; }
Property Value
Declaration
public InputAction rotationAction { get; set; }
Property Value
The tracking type being used by the tracked pose driver
Declaration
public TrackedPoseDriver.TrackingType trackingType { get; set; }
Property Value
The update type being used by the tracked pose driver
Declaration
public TrackedPoseDriver.UpdateType updateType { get; set; }
Property Value
Methods
Declaration
protected virtual void Awake()
Declaration
protected virtual void OnBeforeRender()
Declaration
protected virtual void OnDestroy()
Declaration
protected void OnEnable()
Declaration
protected virtual void OnUpdate()
Declaration
protected virtual void PerformUpdate()
Declaration
protected virtual void SetLocalTransform(Vector3 newPosition, Quaternion newRotation)
Parameters
Declaration
protected void UpdateCallback()