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

TrackingSpacePose Struct

Tracking space position and rotation of the anchor.
Obtain a TrackingSpacePose from OVRLocatable.TryGetSceneAnchorPose or OVRLocatable.TryGetSpatialAnchorPose depending on the type of anchor you wish to interpret it as.
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 rotation is invalid. This constitutes the positional aspect of the anchor's pose. See Rotation for the rotational part.
See Also
Rotation, ComputeWorldPosition, ComputeWorldRotation
Rotation in tracking space of the anchor.
Null if and when the rotation is invalid. This constitutes the rotational aspect of the anchor's pose. See Position for the positional part.
See Also
Position, ComputeWorldPosition, ComputeWorldRotation
Indicates whether the position is currently tracked.
Indicates whether the rotation is currently tracked.

Member Functions

Deprecated
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
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
Deprecated
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
Computes the world-space position of the anchor.
Parameters
trackingSpaceToWorldSpaceTransform
Uses this transform to convert position from tracking-space to world-space.
Returns
The world-space position of the anchor, or null if Position does not have a value.
Computes the world-space rotation of the anchor.
Parameters
trackingSpaceToWorldSpaceTransform
Uses this transform to convert rotation from tracking-space to world-space.
Returns
The world-space rotation of the anchor, or null if Rotation does not have a value.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon