ImageSequenceAnim_v2 Op

ImageSequenceAnim

play a image sprite animation


Must be used with another op like BasicMaterial.


Full Name
  • Ops.Gl.ImageSequenceAnim_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


Example Patch image sequence animation

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

Open In Editor

INPUT PORTS


Time (Number)

Time used to animate the op, plug a timer into this to animate

Unit index (Number: integer) Seconds  Frames 
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 (Number: integer)
Flip Y (Number: boolean)

OUTPUT PORTS


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


Patches using ImageSequenceAnim_v2

  • Examples
  • Public
  • My Patches

Changelog


improvementadded max num of frames, if atlas has blank frames at the enduser avatarpandur - 2020-08-27 18:05
improvementAdded parameter option to flip Y coordinateuser avatarpandur - 2024-04-30 11:50