ResourceImporter

继承: RefCounted < Object

派生: EditorImportPlugin, ResourceImporterBitMap, ResourceImporterBMFont, ResourceImporterCSVTranslation, ResourceImporterDynamicFont, ResourceImporterImage, ResourceImporterImageFont, ResourceImporterLayeredTexture, ResourceImporterMP3, ResourceImporterOBJ, ResourceImporterOggVorbis, ResourceImporterScene, ResourceImporterShaderFile, ResourceImporterTexture, ResourceImporterTextureAtlas, ResourceImporterWAV

Base class for resource importers.

描述

This is the base class for Godot's resource importers. To implement your own resource importers using editor plugins, see EditorImportPlugin.


枚举

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.

1

本方法通常需要用户覆盖才能生效。

2

本方法无副作用,不会修改该实例的任何成员变量。

3

本方法除了能接受在此处描述的参数外,还能够继续接受任意数量的参数。

4

本方法用于构造某个类型。

5

调用本方法无需实例,可直接使用类名进行调用。

6

本方法描述的是使用本类型作为左操作数的有效运算符。

7

这个值是由下列位标志构成位掩码的整数。

8

无返回值。