class_visualscriptpreload.rst 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 VisualScriptPreload.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptPreload:
  6. VisualScriptPreload
  7. ===================
  8. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Creates a new :ref:`Resource<class_Resource>` or loads one from the filesystem.
  10. Description
  11. -----------
  12. Creates a new :ref:`Resource<class_Resource>` or loads one from the filesystem.
  13. **Input Ports:**
  14. none
  15. **Output Ports:**
  16. - Data (object): ``res``
  17. Properties
  18. ----------
  19. +---------------------------------+--------------------------------------------------------------+
  20. | :ref:`Resource<class_Resource>` | :ref:`resource<class_VisualScriptPreload_property_resource>` |
  21. +---------------------------------+--------------------------------------------------------------+
  22. Property Descriptions
  23. ---------------------
  24. .. _class_VisualScriptPreload_property_resource:
  25. - :ref:`Resource<class_Resource>` **resource**
  26. +----------+--------------------+
  27. | *Setter* | set_preload(value) |
  28. +----------+--------------------+
  29. | *Getter* | get_preload() |
  30. +----------+--------------------+
  31. The :ref:`Resource<class_Resource>` to load.
  32. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  33. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  34. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`