Nodes in this category perform common arithmetic operations on numerical values (and where applicable, vec2 values).
Nodes
| Node | Details | Possible Types |
|---|---|---|
| Add | The addition operation ( | Number → NumberNumber[] → Number[]Integer → IntegerInteger[] → Integer[]Vec2 → Vec2Vec2[] → Vec2[]Number → Vec2Number[] → Vec2[] |
| Divide | The division operation ( Produces 0 for any division by 0. With vec2 inputs, this applies separately to the X and Y components. | Number → NumberNumber[] → Number[]Integer → IntegerInteger[] → Integer[]Vec2 → Vec2Vec2[] → Vec2[]Number → Vec2Number[] → Vec2[] |
| Exponent | The exponent operation ( With vec2 inputs, this applies separately to the X and Y components. | Number → NumberNumber[] → Number[]Integer → IntegerInteger[] → Integer[]Vec2 → Vec2Vec2[] → Vec2[]Number → Vec2Number[] → Vec2[] |
| Logarithm | The logarithmic function ( With vec2 inputs, this applies separately to the X and Y components. | Number → NumberNumber[] → Number[]Vec2 → Vec2Vec2[] → Vec2[]Number → Vec2Number[] → Vec2[] |
| Modulo | The modulo operation ( The sign of the result shares the sign of the numerator unless Always Positive is enabled. | Number → NumberNumber[] → Number[]Integer → IntegerInteger[] → Integer[]Vec2 → Vec2Vec2[] → Vec2[]Number → Vec2Number[] → Vec2[] |
| Multiply | The multiplication operation ( | Number → NumberNumber[] → Number[]Integer → IntegerInteger[] → Integer[]Vec2 → Vec2Vec2[] → Vec2[]Number → Vec2Number[] → Vec2[]Transform → TransformTransform[] → Transform[] |
| Reciprocal | The reciprocal operation ( Produces 0 if the input is 0. With a vec2 input, this applies separately to the X and Y components. | Number → NumberNumber[] → Number[]Vec2 → Vec2Vec2[] → Vec2[] |
| Root | The This is equivalent to raising the number to the power of | Number → NumberNumber[] → Number[]Vec2 → Vec2Vec2[] → Vec2[]Number → Vec2Number[] → Vec2[] |
| Subtract | The subtraction operation ( | Number → NumberNumber[] → Number[]Integer → IntegerInteger[] → Integer[]Vec2 → Vec2Vec2[] → Vec2[]Number → Vec2Number[] → Vec2[] |
| Sum | Adds together all the numbers in the input list, producing their total. | Number[] → Number |