Enum ScalarExpressionType ​
Namespace: ValveResourceFormat
Assembly: ValveResourceFormat.dll
Scalar expression types used for particles.
public enum ScalarExpressionTypeFields ​
SCALAR_EXPRESSION_UNINITIALIZED = -1
Uninitialized expression; outputs zero.
SCALAR_EXPRESSION_ADD = 0
Adds input 1 and input 2.
SCALAR_EXPRESSION_SUBTRACT = 1
Subtracts input 2 from input 1.
SCALAR_EXPRESSION_MUL = 2
Multiplies input 1 by input 2.
SCALAR_EXPRESSION_DIVIDE = 3
Divides input 1 by input 2.
SCALAR_EXPRESSION_INPUT_1 = 4
Passes through input 1 unchanged.
SCALAR_EXPRESSION_MIN = 5
Returns the minimum of input 1 and input 2.
SCALAR_EXPRESSION_MAX = 6
Returns the maximum of input 1 and input 2.
SCALAR_EXPRESSION_MOD = 7
Returns the remainder of input 1 divided by input 2.
SCALAR_EXPRESSION_EQUAL = 8
Returns 1 if input 1 equals input 2, otherwise 0.
SCALAR_EXPRESSION_GT = 9
Returns 1 if input 1 is greater than input 2, otherwise 0.
SCALAR_EXPRESSION_LT = 10
Returns 1 if input 1 is less than input 2, otherwise 0.

