class_visualscriptsubcall.rst 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualScriptSubCall.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptSubCall:
  6. VisualScriptSubCall
  7. ===================
  8. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Calls a method called ``_subcall`` in this object.
  10. Description
  11. -----------
  12. ``VisualScriptSubCall`` will call method named ``_subcall`` in the current script. It will fail if the method doesn't exist or the provided arguments are wrong.
  13. Methods
  14. -------
  15. +-------------------------------+--------------------------------------------------------------------------------------------------------------------------+
  16. | :ref:`Variant<class_Variant>` | :ref:`_subcall<class_VisualScriptSubCall_method__subcall>` **(** :ref:`Variant<class_Variant>` arguments **)** |virtual| |
  17. +-------------------------------+--------------------------------------------------------------------------------------------------------------------------+
  18. Method Descriptions
  19. -------------------
  20. .. _class_VisualScriptSubCall_method__subcall:
  21. - :ref:`Variant<class_Variant>` **_subcall** **(** :ref:`Variant<class_Variant>` arguments **)** |virtual|
  22. Called by this node.
  23. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  24. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  25. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`