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

GetSceneAnchorPosesJob Struct

Extends IJobFor
A job for determining the pose of an array of scene anchors.
This is a jobified version of OVRLocatable.TryGetSceneAnchorPose. The TrackingSpacePose for each OVRLocatable in Locatables is determined and written to Poses.
The length of Locatables and Poses must be equal.
An element of Locatables may be invalid (that is, OVRLocatable.IsNull is true), in which case the TrackingSpacePose.Position and TrackingSpacePose.Rotation properties corresponding to this OVRLocatable will be null.
Read more about Unity's job system here.
See Also
GetSpatialAnchorPosesJob

Fields

The array of locatable components from which to read the anchor's pose.
This array must have the same length as Poses.
The array of TrackingSpacePoses in which to store the resulting pose.
This array must have the same length as Locatables.

Member Functions

void IJobFor. Execute
( int index )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon