12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- :github_url: hide
- .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the ResourceImporter.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_ResourceImporter:
- ResourceImporter
- ================
- **Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
- **Inherited By:** :ref:`EditorImportPlugin<class_EditorImportPlugin>`
- Base class for the implementation of core resource importers.
- Description
- -----------
- This is the base class for the resource importers implemented in core. To implement your own resource importers using editor plugins, see :ref:`EditorImportPlugin<class_EditorImportPlugin>`.
- Tutorials
- ---------
- - :doc:`../tutorials/plugins/editor/import_plugins`
- Enumerations
- ------------
- .. _enum_ResourceImporter_ImportOrder:
- .. _class_ResourceImporter_constant_IMPORT_ORDER_DEFAULT:
- .. _class_ResourceImporter_constant_IMPORT_ORDER_SCENE:
- enum **ImportOrder**:
- - **IMPORT_ORDER_DEFAULT** = **0** --- The default import order.
- - **IMPORT_ORDER_SCENE** = **100** --- 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.
- .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
- .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
- .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|