Png Folder Model Source
class PngFolderModelSource(folder: Path, canvas: Canvas, defaultDurationMs: Int, defaultLoop: Boolean) : ModelSource
A folder of PNG frames, sorted by file name, as one animation. A clip.json beside them (Roto's own ClipManifest) gives each frame's duration and the loop flag; without one every frame lasts defaultDurationMs and the loop flag is defaultLoop. A published clip folder works as it is.
Parameters
folder
the folder holding the PNGs
canvas
the project canvas; every frame must fit in it
default Duration Ms
the artist's one duration for all frames when there is no clip.json
default Loop
the artist's loop choice when there is no clip.json