2
0

class_visualscriptsequence.rst 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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/VisualScriptSequence.xml.
  6. .. _class_VisualScriptSequence:
  7. VisualScriptSequence
  8. ====================
  9. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. Executes a series of Sequence ports.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Steps through a series of one or more output Sequence ports. The ``current`` data port outputs the currently executing item.
  15. \ **Input Ports:**\
  16. - Sequence: ``in order``\
  17. \ **Output Ports:**\
  18. - Sequence: ``1``\
  19. - Sequence: ``2 - n`` (optional)
  20. - Data (int): ``current``
  21. .. rst-class:: classref-reftable-group
  22. Properties
  23. ----------
  24. .. table::
  25. :widths: auto
  26. +-----------------------+---------------------------------------------------------+-------+
  27. | :ref:`int<class_int>` | :ref:`steps<class_VisualScriptSequence_property_steps>` | ``1`` |
  28. +-----------------------+---------------------------------------------------------+-------+
  29. .. rst-class:: classref-section-separator
  30. ----
  31. .. rst-class:: classref-descriptions-group
  32. Property Descriptions
  33. ---------------------
  34. .. _class_VisualScriptSequence_property_steps:
  35. .. rst-class:: classref-property
  36. :ref:`int<class_int>` **steps** = ``1``
  37. .. rst-class:: classref-property-setget
  38. - void **set_steps** **(** :ref:`int<class_int>` value **)**
  39. - :ref:`int<class_int>` **get_steps** **(** **)**
  40. The number of steps in the sequence.
  41. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  42. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  43. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  44. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`