This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:setimagerotation [2013/01/14 19:05] – created chani | crpl:docs:setimagerotation [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO | + | |
| + | <- [[crpl: | ||
| + | ===== SetImageRotation | ||
| + | |||
| + | ^ Arguments | ||
| + | |A unit UID, image slot, rotation in radians| | %%i1 s1 f1 -- %% | | ||
| + | |||
| + | |||
| + | === Description === | ||
| + | Sets the rotation of the image (in radians). Rotation occurs around the center of the image. | ||
| + | === Examples === | ||
| + | |||
| + | * **Rotate an Image**\\ %% %% \\ //This updates the image' | ||
| + | # Rotate the image | ||
| + | Self " | ||
| + | |||
| + | # Make a part spin around | ||
| + | Self " | ||
| + | < | ||
| + | Self " | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Next example | ||