← back to roto on ba3a.dev

PublishedAnimation

class PublishedAnimation(val name: String, val of: PublishedFacing, val loop: Boolean, val frames: List<ManifestFrame>, val chosenSpeed: Int? = null)

One animation of an engine file, as its manifest in the consuming project describes it.

Constructors

Link copied to clipboard
constructor(name: String, of: PublishedFacing, loop: Boolean, frames: List<ManifestFrame>, chosenSpeed: Int? = null)

Properties

Link copied to clipboard

the artist's godotSpeed of the filmed clip it is published from

Link copied to clipboard

its published frames in play order

Link copied to clipboard

whether it repeats

Link copied to clipboard

its name in the file: <action>_<facing>, after <profile>_ in a file that spans profiles

Link copied to clipboard

the facing it is

Functions

Link copied to clipboard
fun files(project: Project): List<Path>

Where its published frames are in project.

Link copied to clipboard
fun read(project: Project): ExportFrames

Its frames read from project; one that cannot be read or is not canvas size is an IOException.