Documentation / Node reference / code nodes
code/MathBinary
Outputs a math operation on two values.
Math
Outputs a math operation on a and b, picked from a menu. Vectors are worked on one component at a time.
Parameters
| Name | Type | What it does |
|---|---|---|
| type | UInt8 atan2 · divide · max · min · pow · step | Operation applied to a and b. |
| a_Float | Float | First value. |
| a_Vector2 | Vector2 | First value. |
| a_Vector3 | Vector3 | First value. |
| a_Vector4 | Vector4 | First value. |
| b_Float | Float | Second value. |
| b_Vector2 | Vector2 | Second value. |
| b_Vector3 | Vector3 | Second value. |
| b_Vector4 | Vector4 | Second value. |
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.