.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the VisualScriptComment.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_VisualScriptComment: VisualScriptComment =================== **Inherits:** :ref:`VisualScriptNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- A Visual Script node used to annotate the script. Member Functions ---------------- +--------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_description` **(** **)** const | +--------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_size` **(** **)** const | +--------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_title` **(** **)** const | +--------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_description` **(** :ref:`String` description **)** | +--------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_size` **(** :ref:`Vector2` size **)** | +--------------------------------+-------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_title` **(** :ref:`String` title **)** | +--------------------------------+-------------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`String` **description** - The text inside the comment node. - :ref:`Vector2` **size** - The comment node's size (in pixels). - :ref:`String` **title** - The comment node's title. Description ----------- A Visual Script node used to display annotations in the script, so that code may be documented. Comment nodes can be resized so they encompass a group of nodes. Member Function Description --------------------------- .. _class_VisualScriptComment_get_description: - :ref:`String` **get_description** **(** **)** const .. _class_VisualScriptComment_get_size: - :ref:`Vector2` **get_size** **(** **)** const .. _class_VisualScriptComment_get_title: - :ref:`String` **get_title** **(** **)** const .. _class_VisualScriptComment_set_description: - void **set_description** **(** :ref:`String` description **)** .. _class_VisualScriptComment_set_size: - void **set_size** **(** :ref:`Vector2` size **)** .. _class_VisualScriptComment_set_title: - void **set_title** **(** :ref:`String` title **)**