Rotates the texture image. This is an efficient shorthand for the more complex Texture:SetTexCoord().

Signature:

Texture:SetRotation(radians)

Arguments:

  • radians - Amount by which the texture image should be rotated (in radians; positive values for counter-clockwise rotation, negative for clockwise) (number)