← back to roto on ba3a.dev

write

fun write(animations: List<GodotAnimation>, resRoot: String): String

The resource holding animations in the order given. Each distinct frame file is one texture, numbered by first use. resRoot is the folder of the Godot project relative to the consuming project's root, where res:// starts, or empty when they are the same folder; a frame outside it is refused with an IllegalArgumentException.