RotateSprite3D()

Syntax

RotateSprite3D(#Sprite3D, Angle, Mode)
Description
Rotates the specified #Sprite3D to the given 'Angle'. The 'Angle' value can be from 0 to 360. 'Mode' value take the following values:
  0: All dimensions are reset to original one (so all previous zoom or rotates operations are reseted).
     This is very useful when several sprites are displayed in the same time using the same #Sprite3D, so
     each sprite can be displayed correctly, with its own angle.
  1: The previous sprite dimensions/transformations aren't modified. This allows to use the ZoomSprite3D() command
     before the rotate command but make the #Sprite3D sharing more difficult.

Supported OS

Windows, MacOS X

<- IsSprite3D() - Sprite3D Index - Sprite3DBlendingMode() ->