2
0

class_visualscriptcomment.rst 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualScriptComment.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptComment:
  6. VisualScriptComment
  7. ===================
  8. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. A Visual Script node used to annotate the script.
  13. Properties
  14. ----------
  15. +-------------------------------+--------------------------------------------------------------------+
  16. | :ref:`String<class_String>` | :ref:`description<class_VisualScriptComment_property_description>` |
  17. +-------------------------------+--------------------------------------------------------------------+
  18. | :ref:`Vector2<class_Vector2>` | :ref:`size<class_VisualScriptComment_property_size>` |
  19. +-------------------------------+--------------------------------------------------------------------+
  20. | :ref:`String<class_String>` | :ref:`title<class_VisualScriptComment_property_title>` |
  21. +-------------------------------+--------------------------------------------------------------------+
  22. Description
  23. -----------
  24. A Visual Script node used to display annotations in the script, so that code may be documented.
  25. Comment nodes can be resized so they encompass a group of nodes.
  26. Property Descriptions
  27. ---------------------
  28. .. _class_VisualScriptComment_property_description:
  29. - :ref:`String<class_String>` **description**
  30. +----------+------------------------+
  31. | *Setter* | set_description(value) |
  32. +----------+------------------------+
  33. | *Getter* | get_description() |
  34. +----------+------------------------+
  35. The text inside the comment node.
  36. ----
  37. .. _class_VisualScriptComment_property_size:
  38. - :ref:`Vector2<class_Vector2>` **size**
  39. +----------+-----------------+
  40. | *Setter* | set_size(value) |
  41. +----------+-----------------+
  42. | *Getter* | get_size() |
  43. +----------+-----------------+
  44. The comment node's size (in pixels).
  45. ----
  46. .. _class_VisualScriptComment_property_title:
  47. - :ref:`String<class_String>` **title**
  48. +----------+------------------+
  49. | *Setter* | set_title(value) |
  50. +----------+------------------+
  51. | *Getter* | get_title() |
  52. +----------+------------------+
  53. The comment node's title.