Class VisualShaderNodeCompare
A comparison function for common types within the visual shader graph.
- Inheritance
-
VisualShaderNodeCompare
Remarks
Compares a
and b
of type by function. Returns a boolean scalar. Translates to if
instruction in shader code.
Properties
condition
Extra condition which is applied if type is set to VisualShaderNodeCompare.CTYPE_VECTOR_3D.
var condition : int = 0
Property Value
Remarks
function
A comparison function. See Function for options.
var function : int = 0
Property Value
Remarks
type
The type to be used in the comparison. See ComparisonType for options.
var type : int = 0