class_visualscriptconstructor.rst 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualScriptConstructor.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptConstructor:
  6. VisualScriptConstructor
  7. =======================
  8. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. A Visual Script node which calls a base type constructor.
  13. Methods
  14. -------
  15. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
  16. | :ref:`Dictionary<class_Dictionary>` | :ref:`get_constructor<class_VisualScriptConstructor_method_get_constructor>` **(** **)** const |
  17. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
  18. | :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`get_constructor_type<class_VisualScriptConstructor_method_get_constructor_type>` **(** **)** const |
  19. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
  20. | void | :ref:`set_constructor<class_VisualScriptConstructor_method_set_constructor>` **(** :ref:`Dictionary<class_Dictionary>` constructor **)** |
  21. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
  22. | void | :ref:`set_constructor_type<class_VisualScriptConstructor_method_set_constructor_type>` **(** :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type **)** |
  23. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
  24. Description
  25. -----------
  26. A Visual Script node which calls a base type constructor. It can be used for type conversion as well.
  27. Method Descriptions
  28. -------------------
  29. .. _class_VisualScriptConstructor_method_get_constructor:
  30. - :ref:`Dictionary<class_Dictionary>` **get_constructor** **(** **)** const
  31. ----
  32. .. _class_VisualScriptConstructor_method_get_constructor_type:
  33. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **get_constructor_type** **(** **)** const
  34. ----
  35. .. _class_VisualScriptConstructor_method_set_constructor:
  36. - void **set_constructor** **(** :ref:`Dictionary<class_Dictionary>` constructor **)**
  37. ----
  38. .. _class_VisualScriptConstructor_method_set_constructor_type:
  39. - void **set_constructor_type** **(** :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type **)**