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

SetLocalSpaceTransformsJob Struct

Extends IJobParallelForTransform
Sets the local space transform of Unity transforms according to an array of TrackingSpacePose.
This job reads the poses in Poses and uses them to set the local space transform of each UnityEngine.Transform described by a TransformAccessArray.
A TrackingSpacePose consists of a position and rotation, either of which may be valid or invalid. This job sets the transform's position and rotation depending on whether they are valid.

Fields

NativeArray< TrackingSpacePose > Poses[Get]

Member Functions

void Execute
( int index,
TransformAccess transform )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon