Utility.Matrix.Create

Creates a transformation matrix table. These can also be created by hand; this is simply a convenience routine. Applies scaling first, then rotation, then translation.

Usage:

matrix = Utility.Matrix.Create(scaleX, scaleY, rotate, translateX, translateY)
ParameterTypeDatatypeDescription
rotateparameternumber/nilRotation amount in radians. Defaults to 0.
scaleXparameternumber/nilScaling along the X axis. Defaults to 1.
scaleYparameternumber/nilScaling along the Y axis. Defaults to 1.
translateXparameternumber/nilTranslation along the X axis. Defaults to 0.
translateYparameternumber/nilTranslation along the Y axis. Defaults to 0.
matrixresulttableMatrix table suitable for "transform" members.