class_visualscriptconstructor.rst 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. Methods
  13. -------
  14. +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`Dictionary<class_Dictionary>` | :ref:`get_constructor<class_VisualScriptConstructor_get_constructor>` **(** **)** const |
  16. +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :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:`Variant.Type<enum_@GlobalScope_Variant.Type>` 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. Method Descriptions
  27. -------------------
  28. .. _class_VisualScriptConstructor_get_constructor:
  29. - :ref:`Dictionary<class_Dictionary>` **get_constructor** **(** **)** const
  30. .. _class_VisualScriptConstructor_get_constructor_type:
  31. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **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:`Variant.Type<enum_@GlobalScope_Variant.Type>` type **)**