Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

ResourceImporter

Inherits: RefCounted < Object

Inherited By: 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 EditorImportPlugin.

Tutorials


Enumerations

enum ImportOrder:

ImportOrder IMPORT_ORDER_DEFAULT = 0

The default import order.

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.