Skip to content

Math

Math
Result
X
Y
Z
Math Mode
Add
Clamp
false

Category Numbers
Is Pair Node: No


Performs various mathematical operations on the input numbers. The operation is determined by the selected math mode, which can include addition, subtraction, multiplication, division, and more. The node can also clamp the result to a specified range if desired.

The Math Mode input allows you to choose the type of mathematical operation to perform on the inputs. The available modes are:

ModeXYZ
Add✅✅
Subtract✅✅
Multiply✅✅
Divide✅✅
Sin✅
Cos✅
Tan✅
Greater Than✅✅
Greater Than Or Equal✅✅
Less Than✅✅
Less Than Or Equal✅✅
Compare✅✅
Power✅✅
Logarithm✅✅
Natural Logarithm✅
Root✅✅
Inverse Root✅
Fraction✅
Absolute✅
Negate✅
Floor✅
Ceil✅
Round✅
Modulo✅✅
Min✅✅
Max✅✅
Step✅✅
SmoothStep✅✅✅


Type: Double
Default: 0

First operand for the math operation. This is the first number to be used in the calculation.

Type: Double
Default: 0

Second operand for the math operation. This is the second number to be used in the calculation. This is an optional second number to be used in the calculation, depending on the selected math mode.

Type: Double
Default: 0

Third operand for the math operation. This is an optional third number to be used in the calculation, depending on the selected math mode.

Type: Math Mode (Enum)
Default: Add

The mode of the math operation. This determines how the inputs X, Y, and Z are combined to produce the result.

Type: Boolean
Default: false

Whether to clamp the result of the math operation. If true, the result will be clamped to the range of 0 to 1. If false, the result can be any value.


Type: Double
Default: 0

The result of the math operation based on the selected mode and inputs. This is the final output of the node, which can be used in further calculations or as an input to other nodes.



All of our content is carefully written by hand, no AI was involved during the process.