Instance Property

matrix

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

Required.

Declaration

@property(nonatomic, assign) matrix_float4x4 matrix;

Discussion

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

- setLocalTransform:

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