Icons
A node of the Asset graph.
Takes: — · Gives: file
Output: inventory icons of the model, from the ¾ angle under the studio light, outlined in the Rarity's colour (or From the file's name), Framed or not, at each of the Sizes: a PNG an icon and an atlas and a JSON index a size, into the folder To. An icon is a render of its own, so it takes nothing in; pxr makes them after the sheets, into the export's folder. See inventory icons.
Settings
| Setting | What it does | Range | Default |
|---|---|---|---|
Calledname | What this output is called. | text | icons |
Save topath | Where the icons go. | text | out/icons |
| Sizes | The sizes, in pixels, separated by commas. | text | 16,24,32,48 |
| Rarity | The frame's colour, or read from each file's name. | Common, Uncommon, Rare, Epic, Legendary, From the file's name | common |
Framedframe | A frame round each icon. | on or off | false |
Skill slotslot | Each icon sunk in a dark bevelled slot, as an action bar's, instead of a frame. | on or off | false |
| Pose | A clip's frame to draw: Idle, Attack:3, or Explode:peak for its fullest frame; all is the model's first clip. Empty: at rest. | text | — |
| Tilt | Degrees each model turns in the picture: -45 lays an upright sword on the diagonal. | -180 to 180 | 0 |
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 icons --set KEY=VALUE.
What it wires to
Its name input takes a text, which these give: Words.
What it gives, a file, goes into: 7TV emote, APNG per clip, Aseprite file, Depth map, Dialogue portraits, Discord emoji and sticker, Emission map, File, Game Boy tiles, GIF per clip, Godot scene, Godot SpriteFrames, and 18 more.
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 · Layer · Frame range · Hold · Flip · Tag · Arrange · Place · Stack · Overlay · Sheet · File · JSON · Aseprite file · Godot SpriteFrames · Godot scene · Normal map · Depth map · Emission map · Line and flat layers · Palette · GIF per clip · APNG per clip · WebP per clip · Video per clip · Light kit · PICO-8 cart · Game Boy tiles · NES CHR · Mega Drive tiles · Twitch emotes · Discord emoji and sticker · 7TV emote · Wallpaper loop · Report · Shadow layer · Palette variants · Paper-doll layers · Parallax layers · Dialogue portraits · Text file · ZIP archive · Animation file · 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