class_visualshadernoderesizablebase.rst 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualShaderNodeResizableBase.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualShaderNodeResizableBase:
  6. VisualShaderNodeResizableBase
  7. =============================
  8. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. **Inherited By:** :ref:`VisualShaderNodeComment<class_VisualShaderNodeComment>`, :ref:`VisualShaderNodeCurveTexture<class_VisualShaderNodeCurveTexture>`, :ref:`VisualShaderNodeCurveXYZTexture<class_VisualShaderNodeCurveXYZTexture>`, :ref:`VisualShaderNodeGroupBase<class_VisualShaderNodeGroupBase>`
  10. Base class for resizable nodes in a visual shader graph.
  11. Description
  12. -----------
  13. Resizable nodes have a handle that allows the user to adjust their size as needed.
  14. Properties
  15. ----------
  16. +-------------------------------+----------------------------------------------------------------+-------------------+
  17. | :ref:`Vector2<class_Vector2>` | :ref:`size<class_VisualShaderNodeResizableBase_property_size>` | ``Vector2(0, 0)`` |
  18. +-------------------------------+----------------------------------------------------------------+-------------------+
  19. Property Descriptions
  20. ---------------------
  21. .. _class_VisualShaderNodeResizableBase_property_size:
  22. - :ref:`Vector2<class_Vector2>` **size**
  23. +-----------+-------------------+
  24. | *Default* | ``Vector2(0, 0)`` |
  25. +-----------+-------------------+
  26. | *Setter* | set_size(value) |
  27. +-----------+-------------------+
  28. | *Getter* | get_size() |
  29. +-----------+-------------------+
  30. The size of the node in the visual shader graph.
  31. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  32. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  33. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  34. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  35. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  36. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`