← back to roto on ba3a.dev

OutputLayout

The named ways published frames are laid out under a folder of the consuming project. The artist picks a folder and a layout and never sees a template. Every layout uses the variables ProjectConfig requires: all four in output, all but {frame} in manifest.

Entries

Link copied to clipboard

<folder>/{profile}/{action}_{facing}/{frame}.png with clip.json beside the frames.

Link copied to clipboard

<folder>/{profile}/{action}_{facing}_{frame}.png with {action}_{facing}.json beside them.

Types

Link copied to clipboard
object Companion

What every layout shares: finding one in templates, and the default format entries.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val key: String

the layout's name in preset.json, stable across releases

Functions

Link copied to clipboard

The templates for folder. Throws IllegalArgumentException unless folder is a valid relative path (no .., no backslash, no leading or trailing /).

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.