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