Expression
The Expression sampler evaluates an expression of your own. It has four float inputs and four vector inputs, in its Parameters tab, which you can use in the expression as $f0 to $f3 (floats) and $v0 to $v3 (vectors). You can also connect other samplers to these inputs, to build up larger expressions.
The sampler outputs a vector. An empty expression evaluates to 0.
Parameters
| Parameter | Description |
|---|---|
| Expression | The expression to evaluate. See the Expression Reference for details of the expression language. |
| Float Input 0 to Float Input 3 | Float inputs, used in the expression as $f0 to $f3. |
| Vector Input 0 to Vector Input 3 | Vector inputs, used in the expression as $v0 to $v3. |