2
0

class_visualscriptiterator.rst 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 VisualScriptIterator.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptIterator:
  6. VisualScriptIterator
  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. Steps through items in a given input.
  13. Description
  14. -----------
  15. 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.
  16. **Input Ports:**
  17. - Sequence: ``for (elem) in (input)``
  18. - Data (variant): ``input``
  19. **Output Ports:**
  20. - Sequence: ``each``
  21. - Sequence: ``exit``
  22. - Data (variant): ``elem``