2
0

class_visualscriptlists.rst 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/modules/visual_script/doc_classes/VisualScriptLists.xml.
  6. .. _class_VisualScriptLists:
  7. VisualScriptLists
  8. =================
  9. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`VisualScriptComposeArray<class_VisualScriptComposeArray>`
  11. A Visual Script virtual class for in-graph editable nodes.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. A Visual Script virtual class that defines the shape and the default behavior of the nodes that have to be in-graph editable nodes.
  16. .. rst-class:: classref-reftable-group
  17. Methods
  18. -------
  19. .. table::
  20. :widths: auto
  21. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  22. | void | :ref:`add_input_data_port<class_VisualScriptLists_method_add_input_data_port>` **(** :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type, :ref:`String<class_String>` name, :ref:`int<class_int>` index **)** |
  23. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  24. | void | :ref:`add_output_data_port<class_VisualScriptLists_method_add_output_data_port>` **(** :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type, :ref:`String<class_String>` name, :ref:`int<class_int>` index **)** |
  25. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  26. | void | :ref:`remove_input_data_port<class_VisualScriptLists_method_remove_input_data_port>` **(** :ref:`int<class_int>` index **)** |
  27. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  28. | void | :ref:`remove_output_data_port<class_VisualScriptLists_method_remove_output_data_port>` **(** :ref:`int<class_int>` index **)** |
  29. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  30. | void | :ref:`set_input_data_port_name<class_VisualScriptLists_method_set_input_data_port_name>` **(** :ref:`int<class_int>` index, :ref:`String<class_String>` name **)** |
  31. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  32. | void | :ref:`set_input_data_port_type<class_VisualScriptLists_method_set_input_data_port_type>` **(** :ref:`int<class_int>` index, :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type **)** |
  33. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  34. | void | :ref:`set_output_data_port_name<class_VisualScriptLists_method_set_output_data_port_name>` **(** :ref:`int<class_int>` index, :ref:`String<class_String>` name **)** |
  35. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  36. | void | :ref:`set_output_data_port_type<class_VisualScriptLists_method_set_output_data_port_type>` **(** :ref:`int<class_int>` index, :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type **)** |
  37. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  38. .. rst-class:: classref-section-separator
  39. ----
  40. .. rst-class:: classref-descriptions-group
  41. Method Descriptions
  42. -------------------
  43. .. _class_VisualScriptLists_method_add_input_data_port:
  44. .. rst-class:: classref-method
  45. void **add_input_data_port** **(** :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type, :ref:`String<class_String>` name, :ref:`int<class_int>` index **)**
  46. Adds an input port to the Visual Script node.
  47. .. rst-class:: classref-item-separator
  48. ----
  49. .. _class_VisualScriptLists_method_add_output_data_port:
  50. .. rst-class:: classref-method
  51. void **add_output_data_port** **(** :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type, :ref:`String<class_String>` name, :ref:`int<class_int>` index **)**
  52. Adds an output port to the Visual Script node.
  53. .. rst-class:: classref-item-separator
  54. ----
  55. .. _class_VisualScriptLists_method_remove_input_data_port:
  56. .. rst-class:: classref-method
  57. void **remove_input_data_port** **(** :ref:`int<class_int>` index **)**
  58. Removes an input port from the Visual Script node.
  59. .. rst-class:: classref-item-separator
  60. ----
  61. .. _class_VisualScriptLists_method_remove_output_data_port:
  62. .. rst-class:: classref-method
  63. void **remove_output_data_port** **(** :ref:`int<class_int>` index **)**
  64. Removes an output port from the Visual Script node.
  65. .. rst-class:: classref-item-separator
  66. ----
  67. .. _class_VisualScriptLists_method_set_input_data_port_name:
  68. .. rst-class:: classref-method
  69. void **set_input_data_port_name** **(** :ref:`int<class_int>` index, :ref:`String<class_String>` name **)**
  70. Sets the name of an input port.
  71. .. rst-class:: classref-item-separator
  72. ----
  73. .. _class_VisualScriptLists_method_set_input_data_port_type:
  74. .. rst-class:: classref-method
  75. void **set_input_data_port_type** **(** :ref:`int<class_int>` index, :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type **)**
  76. Sets the type of an input port.
  77. .. rst-class:: classref-item-separator
  78. ----
  79. .. _class_VisualScriptLists_method_set_output_data_port_name:
  80. .. rst-class:: classref-method
  81. void **set_output_data_port_name** **(** :ref:`int<class_int>` index, :ref:`String<class_String>` name **)**
  82. Sets the name of an output port.
  83. .. rst-class:: classref-item-separator
  84. ----
  85. .. _class_VisualScriptLists_method_set_output_data_port_type:
  86. .. rst-class:: classref-method
  87. void **set_output_data_port_type** **(** :ref:`int<class_int>` index, :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type **)**
  88. Sets the type of an output port.
  89. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  90. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  91. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  92. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`