Category:ProtoFlux:Operators: Difference between revisions

Category page
Updated descriptions.
m fix link spaces
 
Line 10: Line 10:
|Add|| Add two values together. This includes Strings!
|Add|| Add two values together. This includes Strings!
|Approximately|| Gives true if two values are equal to either other, give or take epsilon.
|Approximately|| Gives true if two values are equal to either other, give or take epsilon.
|Approximately Not|| Gives true if two values are not 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.
|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.
|Distance|| Gives the absolute distance between two values. Is never negative.
|Div|| Divide A by B.
|Div|| Divide A by B.
|Equals|| Gives true if two values match each other
|Equals|| Gives true if two values match each other
|Greater Or Equal|| Gives true if A is greater than or equal to B.
|GreaterOrEqual|| Gives true if A is greater than or equal to B.
|Greater Than|| Gives true if A is greater than B.
|GreaterThan|| Gives true if A is greater than B.
|Is Infinity|| Gives true if the decimal number reads Infinity.
|IsInfinity|| Gives true if the decimal number reads Infinity.
|Is NaN|| Gives true if the decimal number reads NaN (Not a number).
|IsNaN|| Gives true if the decimal number reads NaN (Not a number).
|Is Null|| Gives true if the reference is non existent.
|IsNull|| Gives true if the reference is non existent.
|Less Or Equal|| Gives true if A is less than or equal to B.
|LessOrEqual|| Gives true if A is less than or equal to B.
|Less Than|| Gives true if A is less than 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)
|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.
|Mul|| Multiply A and B together.
|Multi Null Coalesce|| Gives the first non null value of all the inputs, or null if all are null.
|MultiNullCoalesce|| Gives the first non null value of all the inputs, or null if all are null.
|Not Equals|| Gives true if two values don't match each other
|NotEquals|| Gives true if two values don't match each other
|Not Null|| Gives true if the reference exists.
|NotNull|| Gives true if the reference exists.
|Null Coalesce|| Gives the first non null value of both inputs, or null if both are null.
|NullCoalesce|| Gives the first non null value of both inputs, or null if both are null.
|Sub|| Subtract B from A.
|Sub|| Subtract B from A.
|Value Add Multi|| Adds all inputs.
|ValueAddMulti|| Adds all inputs.
|Value Cube|| Raises input to the power of 3.
|ValueCube|| Raises input to the power of 3.
|Value Dec|| Decreases input by 1.
|ValueDec|| Decreases input by 1.
|Value Div Multi|| Divides from the first value given onwards.
|ValueDivMulti|| Divides from the first value given onwards.
|Value Filter Invalid|| Replaces input if Infinity or NaN with provided replacement.
|ValueFilterInvalid|| Replaces input if Infinity or NaN with provided replacement.
|Value Inc|| Increases input by 1.
|ValueInc|| Increases input by 1.
|Value Mod|| Divides A by B, and gives the remainder (Ex: 10 mod 3 is 1). Useful for looping values.
|ValueMod|| Divides A by B, and gives the remainder (Ex: 10 mod 3 is 1). Useful for looping values.
|Value Mul Multi|| Multiplies all inputs with each other.
|ValueMulMulti|| Multiplies all inputs with each other.
|Value Negate|| Multiplies the input with -1.
|ValueNegate|| Multiplies the input with -1.
|Value One Minus|| Minuses the input from 1. (Ex: 1-x)
|ValueOneMinus|| Minuses the input from 1. (Ex: 1-x)
|Value Plus Minus|| Takes a value A, adds and minuses B from A, and outputs both as two different results.
|ValuePlusMinus|| Takes a value A, adds and minuses B from A, and outputs both as two different results.
|Value Reciprocal|| Divides 1 by input. (Ex: 1/x)
|ValueReciprocal|| Divides 1 by input. (Ex: 1/x)
|Value Square|| Raises input to the power of 2.
|ValueSquare|| Raises input to the power of 2.
|Value Sub Multi|| Subtracts from the first value given onwards.
|ValueSubMulti|| Subtracts from the first value given onwards.
|Zero One|| Converts a bool value into a 0 or 1 value, depending on whether the input is true or false.  
|ZeroOne|| Converts a bool value into a 0 or 1 value, depending on whether the input is true or false.  
}}
}}
[[Category:ProtoFlux]]
[[Category:ProtoFlux]]

Latest revision as of 03:47, 25 August 2025

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.