virtualx-engine-docs/_sources/classes/class_resourceimporter.rst.txt
2024-10-23 09:41:33 -07:00

67 lines
2.3 KiB
ReStructuredText

:github_url: hide
.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/ResourceImporter.xml.
.. _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.
.. rst-class:: classref-introduction-group
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>`.
.. rst-class:: classref-introduction-group
Tutorials
---------
- :doc:`Import plugins <../tutorials/plugins/editor/import_plugins>`
.. rst-class:: classref-section-separator
----
.. rst-class:: classref-descriptions-group
Enumerations
------------
.. _enum_ResourceImporter_ImportOrder:
.. rst-class:: classref-enumeration
enum **ImportOrder**:
.. _class_ResourceImporter_constant_IMPORT_ORDER_DEFAULT:
.. rst-class:: classref-enumeration-constant
:ref:`ImportOrder<enum_ResourceImporter_ImportOrder>` **IMPORT_ORDER_DEFAULT** = ``0``
The default import order.
.. _class_ResourceImporter_constant_IMPORT_ORDER_SCENE:
.. rst-class:: classref-enumeration-constant
:ref:`ImportOrder<enum_ResourceImporter_ImportOrder>` **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.)`
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`