class_visualscriptiterator.rst 1012 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptIterator.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptIterator:
  5. VisualScriptIterator
  6. ====================
  7. **Inherits:** :ref:`VisualScriptNode<class_visualscriptnode>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Steps through items in a given input.
  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``