Category:ProtoFlux:Operators

Category page
Revision as of 03:47, 25 August 2025 by YoshBot (talk | contribs) (fix link spaces)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Subcategories
Category Summary
BoolVectors Any, All, and None with Bool 2, 3, and 4's
Boolean Boolean math, Think Logic gates.
Matrix Transform matrices like 2x2, 3x3, and 4x4 TRS.
Packing Packing up and splitting sets of values like float3, bool2, and int4.
Vectors Vector math in 2D and 3D like direction angles (dot) and projection.
Nodes
Node Name Description
Add Add two values together. This includes Strings!
Approximately Gives true if two values are equal to either other, give or take epsilon.
ApproximatelyNot Gives true if two values are not equal to either other, give or take epsilon.
Conditional Also known as a Ternary Operator, this allows switching between any A, B using boolean C.
Distance Gives the absolute distance between two values. Is never negative.
Div Divide A by B.
Equals Gives true if two values match each other
GreaterOrEqual Gives true if A is greater than or equal to B.
GreaterThan Gives true if A is greater than B.
IsInfinity Gives true if the decimal number reads Infinity.
IsNaN Gives true if the decimal number reads NaN (Not a number).
IsNull Gives true if the reference is non existent.
LessOrEqual Gives true if A is less than or equal to B.
LessThan Gives true if A is less than B.
Mask Allows you to replace values in a pack with another pack (Ex: zero out x,y in an x,y,z)
Mul Multiply A and B together.
MultiNullCoalesce Gives the first non null value of all the inputs, or null if all are null.
NotEquals Gives true if two values don't match each other
NotNull Gives true if the reference exists.
NullCoalesce Gives the first non null value of both inputs, or null if both are null.
Sub Subtract B from A.
ValueAddMulti Adds all inputs.
ValueCube Raises input to the power of 3.
ValueDec Decreases input by 1.
ValueDivMulti Divides from the first value given onwards.
ValueFilterInvalid Replaces input if Infinity or NaN with provided replacement.
ValueInc Increases input by 1.
ValueMod Divides A by B, and gives the remainder (Ex: 10 mod 3 is 1). Useful for looping values.
ValueMulMulti Multiplies all inputs with each other.
ValueNegate Multiplies the input with -1.
ValueOneMinus Minuses the input from 1. (Ex: 1-x)
ValuePlusMinus Takes a value A, adds and minuses B from A, and outputs both as two different results.
ValueReciprocal Divides 1 by input. (Ex: 1/x)
ValueSquare Raises input to the power of 2.
ValueSubMulti Subtracts from the first value given onwards.
ZeroOne Converts a bool value into a 0 or 1 value, depending on whether the input is true or false.