Math operation

The Math operation node is used for performing mathematical and logical operations between numerical or boolean values.

The “]” button is used when you want to set the second pin type as connected type:

Because sometimes you need to operate with different types of values it makes no sense to set both IN pins types as a connected type.


Using examples

In this example we will increment the “MyIntVariable_1” by 10. Connect this variable to the first IN pin of the Math node and press the “]” button. It will set the second pin type to int. After that you will able to write the value 10:

The second example shows how to multiply a vector bya  float and log the result to the console:


Render time: 0.01 seconds
137,001 unique visits