class_resourceimporter.rst 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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/4.0/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.0/doc/classes/ResourceImporter.xml.
  6. .. _class_ResourceImporter:
  7. ResourceImporter
  8. ================
  9. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`EditorImportPlugin<class_EditorImportPlugin>`
  11. Base class for resource importers.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. This is the base class for Godot's resource importers. To implement your own resource importers using editor plugins, see :ref:`EditorImportPlugin<class_EditorImportPlugin>`.
  16. .. rst-class:: classref-introduction-group
  17. Tutorials
  18. ---------
  19. - :doc:`Import plugins <../tutorials/plugins/editor/import_plugins>`
  20. .. rst-class:: classref-section-separator
  21. ----
  22. .. rst-class:: classref-descriptions-group
  23. Enumerations
  24. ------------
  25. .. _enum_ResourceImporter_ImportOrder:
  26. .. rst-class:: classref-enumeration
  27. enum **ImportOrder**:
  28. .. _class_ResourceImporter_constant_IMPORT_ORDER_DEFAULT:
  29. .. rst-class:: classref-enumeration-constant
  30. :ref:`ImportOrder<enum_ResourceImporter_ImportOrder>` **IMPORT_ORDER_DEFAULT** = ``0``
  31. The default import order.
  32. .. _class_ResourceImporter_constant_IMPORT_ORDER_SCENE:
  33. .. rst-class:: classref-enumeration-constant
  34. :ref:`ImportOrder<enum_ResourceImporter_ImportOrder>` **IMPORT_ORDER_SCENE** = ``100``
  35. The import order for scenes, which ensures scenes are imported *after* all other core resources such as textures. Custom importers should generally have an import order lower than ``100`` to avoid issues when importing scenes that rely on custom resources.
  36. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  37. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  38. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  39. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  40. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  41. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`