Instance Property


The transform matrix that defines the local coordinate space relative to a parent coordinate space.



var matrix: matrix_float4x4 { get set }


This matrix defines the position, orientation, shear, and scale for any object affected by the transform component, relative to the coordinate space of its parent.

If the transform component includes time-based transform information, this method returns the local transform matrix as of the earliest time sample (as reported by the minimumTime property).

See Also

Working with Static Transforms

func setLocalTransform(matrix_float4x4)

Sets a new static transform matrix, overriding any time-based transform information.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software