On this page
VisualShaderNodeVectorDerivativeFunc
Inherits: VisualShaderNode < Resource < Reference < Object
Calculates a vector 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
x
andy
. - FUNC_X = 1 --- Derivative in
x
using local differencing. - FUNC_Y = 2 --- Derivative in
y
using local differencing.
Property Descriptions
Function function
Default |
|
Setter |
set_function(value) |
Getter |
get_function() |
A derivative type. See Function for options.
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_visualshadernodevectorderivativefunc.html