Operations
Saturday, July 28, 2018 2:25 AMOverview
Operation nodes perform various mathematical computations/function mappings in Flow. They are responsible for taking some input value and then mapping it to some output value via a defined function.
Add
This adds 2 floating point values together and produces a result.
Subtract
This subtracts 2 floating point values together and produces a result.
Multiply
This multiplies 2 floating point values together and produces a result.
Divide
This divides 2 floating point values together and produces a result.
BezierMap
This maps a range of input values into a range of output values using a user adjustable bezier curve.
Attributes
-
XStart - The starting range of the input value
-
XEnd - The ending range of the input value
-
YStart - The starting range of the output value
-
YEnd - The ending range of the output value
-
XVal - The actual input value sent in for bezier curve function mapping
-
YVal - The final mapped value based off the bezier curve function mapping
CondtionIntToFloat
This lets you map output floating values based on the range of input integer values. This is equivalent to a conditional/case switch for data flow in your node graph
Attributes
-
ConditionInt - The input integer used to decide which case to map to
-
Case[0-9] - The different integer cases to consider
-
InVal[0-9] - The different input floating point values to use with each integer case
-
OutVal - The output floating point value determined by the conditional case
CastIntToFloat
This converts an input integer value into an output floating point value.
CastFloatToInt
This converts an input floating point value into an output integer value.