Documentation / Node reference / code nodes

code/MultAdd

Outputs (input + preAdd) * mult + postAdd.

Math

Outputs (input + preAdd) * mult + postAdd, component by component. It offsets, scales and shifts a value in one node.

Parameters

Name Type What it does
input_Float Float Value to transform.
preAdd_Float Float Added before the multiplication.
mult_Float Float Multiplies the sum.
postAdd_Float Float Added after the multiplication.
input_Vector2 Vector2 Value to transform.
preAdd_Vector2 Vector2 Added before the multiplication.
mult_Vector2 Vector2 Multiplies the sum.
postAdd_Vector2 Vector2 Added after the multiplication.
input_Vector3 Vector3 Value to transform.
preAdd_Vector3 Vector3 Added before the multiplication.
mult_Vector3 Vector3 Multiplies the sum.
postAdd_Vector3 Vector3 Added after the multiplication.
input_Vector4 Vector4 Value to transform.
preAdd_Vector4 Vector4 Added before the multiplication.
mult_Vector4 Vector4 Multiplies the sum.
postAdd_Vector4 Vector4 Added after the multiplication.

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.