Skip to content

RotateTexture

Narta Xaymar Dirks edited this page Oct 28, 2026 · 9 revisions
Blitz3D

RotateTexture

RotateTexture:Void texture:Int32, angle:Float32
Parameter Mode Type Default Description
texture In Int32 required The texture to turn.
angle In Float32 required Angle in degrees.

Description

Turns the texture coordinates by an absolute angle in degrees. Meant for swirling effects such as smoke. The rotation turns the coordinates around their origin (the corner of the picture) before ScaleTexture and PositionTexture are applied, as in the original.

Related Commands

AtlasTexture, CreateTexture, FreeTexture, LoadAnimTexture, LoadTexture, PositionTexture, SaveTexture 〔BlitzLLVM〕, ScaleTexture

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally