Create Operators ProtoFlux Category |
m fix link spaces |
||
(2 intermediate revisions by 2 users not shown) | |||
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. | ||
| | |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 | ||
| | |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) | |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. | ||
| | |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. | |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. | ||
}} | }} | ||
[[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. |
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. |
Subcategories
This category has the following 5 subcategories, out of 5 total.
P
- ProtoFlux:Operators:Boolean (17 P)
- ProtoFlux:Operators:Matrix (15 P)
- ProtoFlux:Operators:Packing (8 P)
- ProtoFlux:Operators:Vectors (9 P)
Pages in category "ProtoFlux:Operators"
The following 36 pages are in this category, out of 36 total.
V
- ProtoFlux:ValueAddMulti
- ProtoFlux:ValueCube
- ProtoFlux:ValueDec
- ProtoFlux:ValueDivMulti
- ProtoFlux:ValueFilterInvalid
- ProtoFlux:ValueInc
- ProtoFlux:ValueMod
- ProtoFlux:ValueMulMulti
- ProtoFlux:ValueNegate
- ProtoFlux:ValueOneMinus
- ProtoFlux:ValuePlusMinus
- ProtoFlux:ValueReciprocal
- ProtoFlux:ValueSquare
- ProtoFlux:ValueSubMulti