Skip to content
lsl.devlsl.devLSL Dev

TextureAnimMode

Constants in the TextureAnimMode flag set. These are flags and can be combined with bitwise OR.

All constant groups

At a glance, from the LSL definitions
integer ANIM_ON = 0x1;  // Enables texture animation.integer LOOP = 0x2;  // Used with texture animation functions to cause the animation to loop continuously.integer PING_PONG = 0x8;  // Used with texture animation functions to cause the animation to play forward first, and then in reverse.integer REVERSE = 0x4;  // Used with texture animation functions to cause the animation to play in reverse (from end to start).integer ROTATE = 0x20;  // Used with texture animation functions to animate the texture's rotation.integer SCALE = 0x40;  // Used with texture animation functions to animate the texture's scale.integer SMOOTH = 0x10;  // Used with texture animation functions to cause the animation to slide smoothly in the X direction (or transition smoothly in SCALE/ROTATE modes) instead of making instant frame changes.

Constants

ConstantTypeValueDescription
ANIM_ONinteger0x1Enables texture animation. This must be set to start the animation and cleared to stop it.
LOOPinteger0x2Used with texture animation functions to cause the animation to loop continuously.
PING_PONGinteger0x8Used with texture animation functions to cause the animation to play forward first, and then in reverse.
REVERSEinteger0x4Used with texture animation functions to cause the animation to play in reverse (from end to start).
ROTATEinteger0x20Used with texture animation functions to animate the texture's rotation. Cannot be combined with SCALE.
SCALEinteger0x40Used with texture animation functions to animate the texture's scale. Cannot be combined with ROTATE.
SMOOTHinteger0x10Used with texture animation functions to cause the animation to slide smoothly in the X direction (or transition smoothly in SCALE/ROTATE modes) instead of making instant frame changes.

Used by