Material:getTransform

Returns the transformation applied to texture coordinates of the Material.

ox, oy, sx, sy, angle = Material:getTransform()

Arguments

None

Returns

NameTypeDescription
oxnumberThe texture coordinate x offset.
oynumberThe texture coordinate y offset.
sxnumberThe texture coordinate x scale.
synumberThe texture coordinate y scale.
anglenumberThe texture coordinate rotation, in radians.

See also