2
0

class_visualscriptwhile.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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/VisualScriptWhile.xml.
  6. .. _class_VisualScriptWhile:
  7. VisualScriptWhile
  8. =================
  9. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. Conditional loop.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Loops while a condition is ``true``. Execution continues out the ``exit`` Sequence port when the loop terminates.
  15. \ **Input Ports:**\
  16. - Sequence: ``while(cond)``\
  17. - Data (bool): ``cond``\
  18. \ **Output Ports:**\
  19. - Sequence: ``repeat``\
  20. - Sequence: ``exit``
  21. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  22. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  23. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  24. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`