Pick a value
A node of the Style graph, in the Values group.
The first number when on, the second when off.
Takes: on (on-off), a (number), b (number) · Gives: number
Settings
| Setting | What it does | Range | Default |
|---|---|---|---|
| On | Which of the two it gives. | on or off | true |
| A | The first number. | -1000000 to 1000000 | 0 |
| B | The second number. | -1000000 to 1000000 | 0 |
Every setting is also an input: wire a value into it to change it per pixel. On the command line: pxr graph set game.pixor --which style --node pick-a-value --set KEY=VALUE.
What it wires to
Its on input takes an on-off, which these give: Both on, Either on, Is above, On/Off, Opposite.
What it gives, a number, goes into: CRT, Add values, Angle, Blur, By facing, Cavity, Colour edges, Dither mix, Divide values, Edges, Glint, Grow, and 31 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 Style graph in the manual.
In the same group
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