play a image sprite animation
summary (oneliner)
Must be used with another op like BasicMaterial.
doc
issues
youtube id
caniuse query
collections
Inputs
Time (Number)
Time used to animate the op, plug a timer into this to animate
Unit index (integer /Number)
Unit (String)
FPS (Number)
FPS of the animation
Num X (Number)
Set this to the amount of images on the X axis
Num Y (Number)
Set this to the amount of images on the Y axis
Max Frames (integer /Number)
Outputs
Repeat X (Number)
Used to set the X
size the repeat setting of the texture
Repeat Y (Number)
Used to set the Y
size the repeat setting of the texture
Offset X (Number)
Used to offset the texture on the X
axis
Offset Y (Number)
Used to offset the texture on the Y
axis
Frame (Number)
Current frame number determined by FPS parameter
Progress (Number)
Progress through the animation, range 0-1
Changelog
added max num of frames, if atlas has blank frames at the end
2020-08-27 - pandur
2020-08-27 - pandur