← back to roto on ba3a.dev

Companion

object Companion

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

Functions

Link copied to clipboard

The Godot frames entry a project gets when it asks for them without naming a path: one resource per profile, <folder>/{profile}/{profile}, with res:// at the project root. Throws IllegalArgumentException for a folder that templates would refuse.

Link copied to clipboard

The sheet entry a project gets when it asks for sprite sheets without naming a path: one sheet per clip under <folder>/{profile}/, with a name no layout's frames or manifests take. Throws IllegalArgumentException for a folder that templates would refuse.

Link copied to clipboard

The layout named key in preset.json; throws IllegalArgumentException for an unknown key.

Link copied to clipboard

The layout and folder that give exactly output and manifest, or null when the pair is custom or mixes two layouts.