beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

ImageSequenceAnim_v2 Op

Ops.Gl.ImageSequenceAnim_v2


ImageSequenceAnim
Namespace: Ops.Gl

Op author: pandur

play a image sprite animation


Must be used with another op like BasicMaterial.



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

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

image sequence animation

The ImageSequenceAnim op allows an animation to be played back from a texture file

Open Example In Editor

Patches using ImageSequenceAnim_v2

Changelog


added max num of frames, if atlas has blank frames at the end
2020-08-27 - pandur