Instance Property

matrix

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

Required.

Declaration

var matrix: matrix_float4x4 { get set }

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

func setLocalTransform(matrix_float4x4)

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