class_missingresource.rst 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MissingResource.xml.
  6. .. _class_MissingResource:
  7. MissingResource
  8. ===============
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. An internal editor class intended for keeping the data of unrecognized resources.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. This is an internal editor class intended for keeping data of resources of unknown type (most likely this type was supplied by an extension that is no longer loaded). It can't be manually instantiated or placed in a scene.
  15. \ **Warning:** Ignore missing resources unless you know what you are doing. Existing properties on a missing resource can be freely modified in code, regardless of the type they are intended to be.
  16. .. rst-class:: classref-reftable-group
  17. Properties
  18. ----------
  19. .. table::
  20. :widths: auto
  21. +-----------------------------+----------------------------------------------------------------------------------+
  22. | :ref:`String<class_String>` | :ref:`original_class<class_MissingResource_property_original_class>` |
  23. +-----------------------------+----------------------------------------------------------------------------------+
  24. | :ref:`bool<class_bool>` | :ref:`recording_properties<class_MissingResource_property_recording_properties>` |
  25. +-----------------------------+----------------------------------------------------------------------------------+
  26. .. rst-class:: classref-section-separator
  27. ----
  28. .. rst-class:: classref-descriptions-group
  29. Property Descriptions
  30. ---------------------
  31. .. _class_MissingResource_property_original_class:
  32. .. rst-class:: classref-property
  33. :ref:`String<class_String>` **original_class** :ref:`🔗<class_MissingResource_property_original_class>`
  34. .. rst-class:: classref-property-setget
  35. - |void| **set_original_class**\ (\ value\: :ref:`String<class_String>`\ )
  36. - :ref:`String<class_String>` **get_original_class**\ (\ )
  37. The name of the class this resource was supposed to be (see :ref:`Object.get_class<class_Object_method_get_class>`).
  38. .. rst-class:: classref-item-separator
  39. ----
  40. .. _class_MissingResource_property_recording_properties:
  41. .. rst-class:: classref-property
  42. :ref:`bool<class_bool>` **recording_properties** :ref:`🔗<class_MissingResource_property_recording_properties>`
  43. .. rst-class:: classref-property-setget
  44. - |void| **set_recording_properties**\ (\ value\: :ref:`bool<class_bool>`\ )
  45. - :ref:`bool<class_bool>` **is_recording_properties**\ (\ )
  46. If set to ``true``, allows new properties to be added on top of the existing ones with :ref:`Object.set<class_Object_method_set>`.
  47. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  48. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  49. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  50. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  51. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  52. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  53. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  54. .. |void| replace:: :abbr:`void (No return value.)`