Layer
A node of the Asset graph.
Takes: frames × N · Gives: frames × N
One layer of each list: final, lines or flat, or one of the maps a game lights the sprite with — normal, depth, emission — which makes the sheet it lands on a picture of colours rather than palette indices — or shadow, the shadow each frame casts, in black (the one the project's Shadow asks for, else a contact shadow), which an Overlay puts under the sprite; or the name of one of the style graph's extra outputs, whose rows are then named after it (idle_South_rim). A render's own pictures are layers too: with props or pieces, a paper doll's base and each piece by its name (idle_South_helmet); with parallax layers, layer0 (the farthest) to the last. Each is rendered only when a Layer names it, by pxr render — which is what the app's Export window runs. Separate a list's layers with a Layer node per layer, each to its own Sheet; combine them with a Merge, a Stack or an Overlay.
Settings
| Setting | What it does | Range | Default |
|---|---|---|---|
| Layer | Which layer of each list it takes. | text | final |
Every setting is also an input: wire a value into it to change it per frame or per file. On the command line: pxr graph set game.pixor --which asset --node layer --set KEY=VALUE.
What it wires to
Its frames input takes frames, which these give: Flip, Frame range, Hold, Image file, Merge, Sprites, Tag.
What it gives, frames, goes into: Animation file, Arrange, Flip, Frame range, Hold, Merge, Tag.
In the app, drag a wire from one of its dots: every dot the wire fits is ringed.
How it fits with the rest: the Asset graph in the manual.
In the same group
Sprites · Image file · Merge · Frame range · Hold · Flip · Tag · Arrange · Place · Stack · Overlay · Sheet · File · JSON · Aseprite file · Godot SpriteFrames · Normal map · Depth map · Emission map · Line and flat layers · Palette · GIF per clip · APNG per clip · Video per clip · Light kit · PICO-8 cart · Report · Shadow layer · Palette variants · Paper-doll layers · Parallax layers · Text file · ZIP archive · Tile set · Icons · Animation file · Tile set JSON · Godot TileSet · Tiled tileset · Dual-grid sheet · GameMaker autotiles · RPG Maker autotiles · Unity RuleTile · LDtk project · Tile palette variants · Map preview · Number value · On/Off · Angle · Words · Add values · Subtract values · Multiply values · Divide values · Smaller value · Larger value · Is above · Opposite · Both on · Either on · Pick a value