2
0

class_visualscriptiterator.rst 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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/VisualScriptIterator.xml.
  6. .. _class_VisualScriptIterator:
  7. VisualScriptIterator
  8. ====================
  9. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. Steps through items in a given input.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. This node steps through each item in a given input. Input can be any sequence data type, such as an :ref:`Array<class_Array>` or :ref:`String<class_String>`. When each item has been processed, execution passed out the ``exit`` Sequence port.
  15. \ **Input Ports:**\
  16. - Sequence: ``for (elem) in (input)``\
  17. - Data (variant): ``input``\
  18. \ **Output Ports:**\
  19. - Sequence: ``each``\
  20. - Sequence: ``exit``\
  21. - Data (variant): ``elem``
  22. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  23. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  24. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  25. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`