mirror of
https://github.com/Relintai/pandemonium_engine_docs.git
synced 2025-01-23 15:17:21 +01:00
68 lines
2.6 KiB
ReStructuredText
68 lines
2.6 KiB
ReStructuredText
|
:github_url: hide
|
||
|
|
||
|
.. DO NOT EDIT THIS FILE!!!
|
||
|
.. Generated automatically from Godot engine sources.
|
||
|
.. Generator: https://github.com/godotengine/godot/tree/3.5/doc/tools/make_rst.py.
|
||
|
.. XML source: https://github.com/godotengine/godot/tree/3.5/doc/classes/VisualShaderNodeVectorDerivativeFunc.xml.
|
||
|
|
||
|
.. _class_VisualShaderNodeVectorDerivativeFunc:
|
||
|
|
||
|
VisualShaderNodeVectorDerivativeFunc
|
||
|
====================================
|
||
|
|
||
|
**Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
||
|
|
||
|
Calculates a vector derivative within the visual shader graph.
|
||
|
|
||
|
Description
|
||
|
-----------
|
||
|
|
||
|
This node is only available in ``Fragment`` and ``Light`` visual shaders.
|
||
|
|
||
|
Properties
|
||
|
----------
|
||
|
|
||
|
+---------------------------------------------------------------------+-------------------------------------------------------------------------------+-------+
|
||
|
| :ref:`Function<enum_VisualShaderNodeVectorDerivativeFunc_Function>` | :ref:`function<class_VisualShaderNodeVectorDerivativeFunc_property_function>` | ``0`` |
|
||
|
+---------------------------------------------------------------------+-------------------------------------------------------------------------------+-------+
|
||
|
|
||
|
Enumerations
|
||
|
------------
|
||
|
|
||
|
.. _enum_VisualShaderNodeVectorDerivativeFunc_Function:
|
||
|
|
||
|
.. _class_VisualShaderNodeVectorDerivativeFunc_constant_FUNC_SUM:
|
||
|
|
||
|
.. _class_VisualShaderNodeVectorDerivativeFunc_constant_FUNC_X:
|
||
|
|
||
|
.. _class_VisualShaderNodeVectorDerivativeFunc_constant_FUNC_Y:
|
||
|
|
||
|
enum **Function**:
|
||
|
|
||
|
- **FUNC_SUM** = **0** --- Sum of absolute derivative in ``x`` and ``y``.
|
||
|
|
||
|
- **FUNC_X** = **1** --- Derivative in ``x`` using local differencing.
|
||
|
|
||
|
- **FUNC_Y** = **2** --- Derivative in ``y`` using local differencing.
|
||
|
|
||
|
Property Descriptions
|
||
|
---------------------
|
||
|
|
||
|
.. _class_VisualShaderNodeVectorDerivativeFunc_property_function:
|
||
|
|
||
|
- :ref:`Function<enum_VisualShaderNodeVectorDerivativeFunc_Function>` **function**
|
||
|
|
||
|
+-----------+---------------------+
|
||
|
| *Default* | ``0`` |
|
||
|
+-----------+---------------------+
|
||
|
| *Setter* | set_function(value) |
|
||
|
+-----------+---------------------+
|
||
|
| *Getter* | get_function() |
|
||
|
+-----------+---------------------+
|
||
|
|
||
|
A derivative type. See :ref:`Function<enum_VisualShaderNodeVectorDerivativeFunc_Function>` for options.
|
||
|
|
||
|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
||
|
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
||
|
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|