class_visualscriptpreload.rst 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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:`RefCounted<class_RefCounted>` **<** :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.)`
  35. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  36. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  37. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`