class_visualscriptconstructor.rst 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptConstructor.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptConstructor:
  5. VisualScriptConstructor
  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. A Visual Script node which calls a base type constructor.
  12. Member Functions
  13. ----------------
  14. +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`Dictionary<class_dictionary>` | :ref:`get_constructor<class_VisualScriptConstructor_get_constructor>` **(** **)** const |
  16. +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`int<class_int>` | :ref:`get_constructor_type<class_VisualScriptConstructor_get_constructor_type>` **(** **)** const |
  18. +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  19. | void | :ref:`set_constructor<class_VisualScriptConstructor_set_constructor>` **(** :ref:`Dictionary<class_dictionary>` constructor **)** |
  20. +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`set_constructor_type<class_VisualScriptConstructor_set_constructor_type>` **(** :ref:`int<class_int>` type **)** |
  22. +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  23. Description
  24. -----------
  25. A Visual Script node which calls a base type constructor. It can be used for type conversion as well.
  26. Member Function Description
  27. ---------------------------
  28. .. _class_VisualScriptConstructor_get_constructor:
  29. - :ref:`Dictionary<class_dictionary>` **get_constructor** **(** **)** const
  30. .. _class_VisualScriptConstructor_get_constructor_type:
  31. - :ref:`int<class_int>` **get_constructor_type** **(** **)** const
  32. .. _class_VisualScriptConstructor_set_constructor:
  33. - void **set_constructor** **(** :ref:`Dictionary<class_dictionary>` constructor **)**
  34. .. _class_VisualScriptConstructor_set_constructor_type:
  35. - void **set_constructor_type** **(** :ref:`int<class_int>` type **)**