Struct VisualShaderNodeCompare
A comparison function for common types within the visual shader graph.
struct VisualShaderNodeCompare
;
Compares a
and b
of type
by function
. Returns a boolean scalar. Translates to if
instruction in shader code.
Properties
Name | Type | Description |
---|---|---|
_function [get, set]
|
VisualShaderNodeCompare | A comparison function. See function for options.
|
condition [get, set]
|
VisualShaderNodeCompare | Extra condition which is applied if type is set to constant CTYPE_VECTOR .
|
type [get, set]
|
VisualShaderNodeCompare | The type to be used in the comparison. See comparisontype for options.
|
Methods
Name | Description |
---|---|
getComparisonType
|
|
getCondition
|
|
getFunction
|
|
setComparisonType
|
|
setCondition
|
|
setFunction
|
Enums
Name | Description |
---|---|
ComparisonType
|
|
Condition
|
|
Constants
|
|
Function
|