2
0

class_visualscriptcondition.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/VisualScriptCondition.xml.
  6. .. _class_VisualScriptCondition:
  7. VisualScriptCondition
  8. =====================
  9. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. A Visual Script node which branches the flow.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. A Visual Script node that checks a :ref:`bool<class_bool>` input port. If ``true``, it will exit via the "true" sequence port. If ``false``, it will exit via the "false" sequence port. After exiting either, it exits via the "done" port. Sequence ports may be left disconnected.
  15. \ **Input Ports:**\
  16. - Sequence: ``if (cond) is``\
  17. - Data (boolean): ``cond``\
  18. \ **Output Ports:**\
  19. - Sequence: ``true``\
  20. - Sequence: ``false``\
  21. - Sequence: ``done``
  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.)`