llSetLinkTextureAnim
function ll.SetLinkTextureAnim(LinkNumber: number, Mode: number, Face: number, SizeX: number, SizeY: number, Start: number, Length: number, Rate: number)Animates a texture on the prim specified by LinkNumber, by setting the texture scale and offset.
Mode is a bitmask of animation options.
Face specifies which object face to animate.
SizeX and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.
Length specifies the animation duration.
Rate specifies the animation playback rate.
Parameters
-
LinkNumber(number) - Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag to effect
-
Mode(number) - Bitmask of animation options.
-
Face(number) - Specifies which object face to animate or ALL_SIDES.
-
SizeX(number) - Horizontal frames (ignored for ROTATE and SCALE).
-
SizeY(number) - Vertical frames (ignored for ROTATE and SCALE).
-
Start(number) - Start position/frame number (or radians for ROTATE).
-
Length(number) - Specifies the animation duration, in frames (or radians for ROTATE).
-
Rate(number) - Specifies the animation playback rate, in frames per second (must be greater than zero).
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetLinkTextureAnim().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetLinkTextureAnim