Method GetSpatialAnchorPose
GetSpatialAnchorPose(ulong, out Vector3, out Quaternion, out YVRAnchorLocationFlags)
Retrieves the pose of a spatial anchor identified by the given handle.
public bool GetSpatialAnchorPose(ulong anchorHandle, out Vector3 position, out Quaternion rotation, out YVRAnchorLocationFlags locationFlags)
Parameters
anchorHandle
ulongThe handle of the spatial anchor
position
Vector3The position of the spatial anchor
rotation
QuaternionThe rotation of the spatial anchor
locationFlags
YVRAnchorLocationFlagsFlags indicating the location of the spatial anchor
Returns
- bool
True if the spatial anchor pose was successfully retrieved; otherwise, false