class_visualscriptconstructor.rst 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 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. A Visual Script node which calls a base type constructor.
  10. Description
  11. -----------
  12. A Visual Script node which calls a base type constructor. It can be used for type conversion as well.
  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. Method Descriptions
  25. -------------------
  26. .. _class_VisualScriptConstructor_method_get_constructor:
  27. - :ref:`Dictionary<class_Dictionary>` **get_constructor** **(** **)** |const|
  28. ----
  29. .. _class_VisualScriptConstructor_method_get_constructor_type:
  30. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **get_constructor_type** **(** **)** |const|
  31. ----
  32. .. _class_VisualScriptConstructor_method_set_constructor:
  33. - void **set_constructor** **(** :ref:`Dictionary<class_Dictionary>` constructor **)**
  34. ----
  35. .. _class_VisualScriptConstructor_method_set_constructor_type:
  36. - void **set_constructor_type** **(** :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` type **)**
  37. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  38. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  39. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`