class_visualshadernodetransformfunc.rst 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/VisualShaderNodeTransformFunc.xml.
  6. .. _class_VisualShaderNodeTransformFunc:
  7. VisualShaderNodeTransformFunc
  8. =============================
  9. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Computes a :ref:`Transform3D<class_Transform3D>` function within the visual shader graph.
  11. Description
  12. -----------
  13. Computes an inverse or transpose function on the provided :ref:`Transform3D<class_Transform3D>`.
  14. Properties
  15. ----------
  16. +--------------------------------------------------------------+------------------------------------------------------------------------+-------+
  17. | :ref:`Function<enum_VisualShaderNodeTransformFunc_Function>` | :ref:`function<class_VisualShaderNodeTransformFunc_property_function>` | ``0`` |
  18. +--------------------------------------------------------------+------------------------------------------------------------------------+-------+
  19. Enumerations
  20. ------------
  21. .. _enum_VisualShaderNodeTransformFunc_Function:
  22. .. _class_VisualShaderNodeTransformFunc_constant_FUNC_INVERSE:
  23. .. _class_VisualShaderNodeTransformFunc_constant_FUNC_TRANSPOSE:
  24. .. _class_VisualShaderNodeTransformFunc_constant_FUNC_MAX:
  25. enum **Function**:
  26. - **FUNC_INVERSE** = **0** --- Perform the inverse operation on the :ref:`Transform3D<class_Transform3D>` matrix.
  27. - **FUNC_TRANSPOSE** = **1** --- Perform the transpose operation on the :ref:`Transform3D<class_Transform3D>` matrix.
  28. - **FUNC_MAX** = **2** --- Represents the size of the :ref:`Function<enum_VisualShaderNodeTransformFunc_Function>` enum.
  29. Property Descriptions
  30. ---------------------
  31. .. _class_VisualShaderNodeTransformFunc_property_function:
  32. - :ref:`Function<enum_VisualShaderNodeTransformFunc_Function>` **function**
  33. +-----------+---------------------+
  34. | *Default* | ``0`` |
  35. +-----------+---------------------+
  36. | *Setter* | set_function(value) |
  37. +-----------+---------------------+
  38. | *Getter* | get_function() |
  39. +-----------+---------------------+
  40. The function to be computed. See :ref:`Function<enum_VisualShaderNodeTransformFunc_Function>` for options.
  41. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  42. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  43. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  44. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  45. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  46. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`