Package-level declarations
Types
Writes an animation as the bytes of one file. The same input gives the same bytes.
Exports a clip of a profile of project as one animated file in the profile's exports folder. The frames are the flipbook's: art where painted, else draft, else reference, flipped when mirrored and retimed as a publish would. A variant exports its base's clip with the ramp swaps applied.
An animated file format Roto writes.
The animations that share one expansion of a format's path, and so one set of files.
The choices of one animated export. Whether it loops is not among them: that is the clip's own.
Writes an animated PNG: PngCodec encodes each frame, and this assembles their chunks. Frame 0 keeps its IDAT chunks, so a reader without APNG shows it. Every frame is the full canvas, replaces what was there and is cleared before the next. A delay is the duration over 1000, so it is exact.
A background colour outside the project palette, and the palette colour used for it.
What a format's path holds after a publish.
The files a project's formats ask for beside its published frames.
What an export holds, known before anything is written.
One frame of an export.
An animation as an encoder takes it.
What every AnimationEncoder does to its frames before writing them: background, then scale.
What an export wrote.
Which clip an AnimationExporter exports, and how it is seen.
Writes the files of one kind of formats entry.
Writes an animated GIF, byte for byte from its input. The global colour table is palette, after a transparent entry 0 when there is no background; opaque colours the frames hold beyond it follow in order of first appearance. Nothing is quantised or dithered. A pixel with alpha under 128 is transparent. Every frame is the full canvas and is cleared before the next. Delays are 10 ms units, rounded on cumulative time so that the total length stays exact.
One animation of a Godot SpriteFrames resource.
Writes the text of a Godot 4 SpriteFrames resource (.tres) that shows published frame PNGs. It carries no uid: Godot adds one on import. Lines end in \n, and numbers never pass through a locale.
The speed of a Godot animation, in frames per second. A frame there lasts a number of units of 1 / speed seconds, and the natural unit is the greatest common divisor of the durations, which gives a speed of 1000 / divisor. The speed is kept a whole number: when that quotient is not one, it is the artist's choice, or else the quotient rounded half up and at least 1.
Writes a group of published animations as one Godot SpriteFrames resource that references their published frames.
A packed sheet.
One animation of an engine file, as its manifest in the consuming project describes it.
Groups what is published in a consuming project by a format's path, and collects each group's animations from the published manifests, so a publish of a few clips never drops the others.
One facing of an action, as a profile publishes it.
The version of this build of Roto.
One animation of a sheet.
The frames of a SheetJson, in the shape its SheetLayout gives them.
One animation of a sheet.
A sheet's description in the Aseprite sheet format. It holds no key that format lacks, as strict readers exist. Roto writes it and never reads it back.
Writes a sheet's SheetJson. Reading one is not supported and fails with a SheetJsonException.
A sheet's JSON that cannot be handled.
How a sheet's JSON holds its frames.
Lays the frames of animations out on one sheet, row by row, each in a cell of its own size: nothing is trimmed, rotated, padded or extruded, so the ground line and root stay where they were drawn.
Writes a group of published animations as one sprite sheet and its Aseprite-style JSON.
Writes a lossless animated WebP through ffmpeg, run by runner: the prepared frames go to a temporary folder as PNG, with a concat list giving their durations, and WebpTiming corrects the one duration ffmpeg gets wrong. ffmpeg merges identical neighbouring frames, adding their durations, and writes a still picture when all frames are identical.
Corrects the timing of an animated WebP as ffmpeg writes it: every frame duration is right except the last one's. Works on the RIFF bytes alone, so no picture data is decoded or rewritten.