setUvTransform

fun setUvTransform(tx: Double, ty: Double, sx: Double, sy: Double, rotation: Double, cx: Double, cy: Double): Matrix3

Sets the UV transform matrix from offset, repeat, rotation, and center.

Return

A reference to this matrix.

Parameters

tx

Offset x.

ty

Offset y.

sx

Repeat x.

sy

Repeat y.

rotation

Rotation, in radians. Positive values rotate counterclockwise.

cx

Center x of rotation.

cy

Center y of rotation.