TextureAnimMode
Constants in the TextureAnimMode flag set. These are flags and can be combined with bitwise OR.
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
| Constant | Type | Value | Description |
|---|---|---|---|
ANIM_ON | integer | 0x1 | Enables texture animation. This must be set to start the animation and cleared to stop it. |
LOOP | integer | 0x2 | Used with texture animation functions to cause the animation to loop continuously. |
PING_PONG | integer | 0x8 | Used with texture animation functions to cause the animation to play forward first, and then in reverse. |
REVERSE | integer | 0x4 | Used with texture animation functions to cause the animation to play in reverse (from end to start). |
ROTATE | integer | 0x20 | Used with texture animation functions to animate the texture's rotation. Cannot be combined with SCALE. |
SCALE | integer | 0x40 | Used with texture animation functions to animate the texture's scale. Cannot be combined with ROTATE. |
SMOOTH | integer | 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. |
Used by
llSetLinkTextureAnimfunctionAnimates the texture on face of the linked prim link by setting the scale and offset according to mode. Parameters sizex/sizey define frames, start defines the start frame/angle, length defines duration, and rate defines playback speed.llSetTextureAnimfunctionAnimates the texture on face of the prim by setting its scale and offset. mode defines options, sizex/sizey define frames, start defines the start frame/angle, length defines duration, and rate defines playback speed.