RotateMaterial()

Syntax

RotateMaterial(#Material, Angle, Mode [, Layer])
Description
Rotates the material layer according to the Angle value. By default the layer 0 is rotated except if the optional 'Layer' parameter is used. 'Mode' can take one of the following value:
  #PB_Material_Fixed   : The material is rotated of the specified 'Angle', without regards of the previous rotate command.
  #PB_Material_Animated: Each frame is the material is rotated of the specified 'Angle' automatically.

Supported OS

Windows, Linux

<- RemoveMaterialLayer() - Material Index - ScrollMaterial() ->