ImageSequenceAnim_v2 Op

ImageSequenceAnim

play a image sprite animation


<p>Must be used with another op like BasicMaterial. </p>


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)

<p>Time used to animate the op, plug a timer into this to animate</p>

Unit index (Number:

<i>integer</i>

)
 Seconds  Frames 
FPS (Number)

<p>FPS of the animation</p>

Num X (Number)

<p>Set this to the amount of images on the X axis</p>

Num Y (Number)

<p>Set this to the amount of images on the Y axis</p>

Max Frames (Number:

<i>integer</i>

)

Flip Y (Number:

<i>boolean</i>

)

OUTPUT PORTS


Repeat X (Number)

<p>Used to set the <code>X</code> size the repeat setting of the texture</p>

Repeat Y (Number)

<p>Used to set the <code>Y</code> size the repeat setting of the texture</p>

Offset X (Number)

<p>Used to offset the texture on the <code>X</code> axis</p>

Offset Y (Number)

<p>Used to offset the texture on the <code>Y</code> axis</p>

Frame (Number)

<p>Current frame number determined by FPS parameter</p>

Progress (Number)

<p>Progress through the animation, range <code>0-1</code></p>


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