VisualShaderNodeScalarDerivativeFunc¶
Inherits: VisualShaderNode < Resource < Reference < Object
Calculates a scalar derivative within the visual shader graph.
Description¶
This node is only available in Fragment and Light visual shaders.
Properties¶
|
Enumerations¶
enum Function:
FUNC_SUM = 0 --- Sum of absolute derivative in
xandy.FUNC_X = 1 --- Derivative in
xusing local differencing.FUNC_Y = 2 --- Derivative in
yusing local differencing.
Property Descriptions¶
Function function
Default |
|
Setter |
set_function(value) |
Getter |
get_function() |
The derivative type. See Function for options.