pandemonium_engine_docs/classes/class_visualshadernodetransformfunc.rst

64 lines
2.5 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/VisualShaderNodeTransformFunc.xml.
.. _class_VisualShaderNodeTransformFunc:
VisualShaderNodeTransformFunc
=============================
**Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
Computes a :ref:`Transform<class_Transform>` function within the visual shader graph.
Description
-----------
Computes an inverse or transpose function on the provided :ref:`Transform<class_Transform>`.
Properties
----------
+--------------------------------------------------------------+------------------------------------------------------------------------+-------+
| :ref:`Function<enum_VisualShaderNodeTransformFunc_Function>` | :ref:`function<class_VisualShaderNodeTransformFunc_property_function>` | ``0`` |
+--------------------------------------------------------------+------------------------------------------------------------------------+-------+
Enumerations
------------
.. _enum_VisualShaderNodeTransformFunc_Function:
.. _class_VisualShaderNodeTransformFunc_constant_FUNC_INVERSE:
.. _class_VisualShaderNodeTransformFunc_constant_FUNC_TRANSPOSE:
enum **Function**:
- **FUNC_INVERSE** = **0** --- Perform the inverse operation on the :ref:`Transform<class_Transform>` matrix.
- **FUNC_TRANSPOSE** = **1** --- Perform the transpose operation on the :ref:`Transform<class_Transform>` matrix.
Property Descriptions
---------------------
.. _class_VisualShaderNodeTransformFunc_property_function:
- :ref:`Function<enum_VisualShaderNodeTransformFunc_Function>` **function**
+-----------+---------------------+
| *Default* | ``0`` |
+-----------+---------------------+
| *Setter* | set_function(value) |
+-----------+---------------------+
| *Getter* | get_function() |
+-----------+---------------------+
The function to be computed. See :ref:`Function<enum_VisualShaderNodeTransformFunc_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.)`