API reference
API reference
Select your platform
No SDKs available
No versions available

TrackingSpacePose Struct

Tracking space position and rotation of the anchor.
Position and rotation are both nullable Vector3 and Quaternion and might be null independently if one of them or both are invalid.
See Also
Position, IsPositionTracked, ComputeWorldPosition, Rotation, IsRotationTracked, ComputeWorldRotation

Properties

Position in tracking space of the anchor.
Null if and when the position is invalid
See Also
Rotation, ComputeWorldPosition, ComputeWorldRotation
Rotation in tracking space of the Anchor.
Null if and when the rotation is invalid
See Also
Position, ComputeWorldPosition, ComputeWorldRotation
Indicates whether or not the position is currently tracked.
Indicates whether or not the rotation is currently tracked.

Member Functions

Computes the world space position of the anchor.
Parameters
camera
A Camera component that will be use to compute the transform to world space
Returns
The nullable Vector3 position in world space which may be null if and when Position is invalid or head pose is invalid.
See Also
Position, Rotation, ComputeWorldRotation
Exceptions
ArgumentNullException
If camera is null
Computes the world space rotation of the anchor.
Parameters
camera
A Camera component that will be use to compute the transform to world space
Returns
The nullable Quaternion rotation in world space which may be null if and when Rotation is invalid or if head rotation is invalid.
See Also
Position, Rotation, ComputeWorldPosition
Exceptions
ArgumentNullException
If camera is null
Did you find this page helpful?
Thumbs up icon
Thumbs down icon