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.