ResourceImporter
Base class for resource importers.
class ResourceImporterThis is the base class for Godot’s resource importers. To implement your own resource importers using editor plugins, see EditorImportPlugin.
Base class for resource importers.
class ResourceImporterThis is the base class for Godot’s resource importers. To implement your own resource importers using editor plugins, see EditorImportPlugin.
import SwiftGodotFramework to write Godot Game Extensions using the Swift Programming Language.
class EditorImportPluginRegisters a custom resource importer in the editor. Use the class to parse any file and import it as a new resource type.
class RefCountedBase class for reference-counted objects.
protocol CustomStringConvertibleA type with a customized textual representation.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol Identifiable<ID>A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable : VariantStorableTypes that conform to VariantRepresentable can be stored directly in Variant with no conversion. These include all of the Variant types from Godot (for example GString, Rect, Plane), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.
protocol VariantStorableTypes that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
override class var godotClassName: StringName { get }enum ImportOrderclass ResourceImporterBMFontImports a bitmap font in the BMFont (.fnt) format.
class ResourceImporterBitMapImports a BitMap resource (2D array of boolean values).
class ResourceImporterCSVTranslationImports comma-separated values
class ResourceImporterDynamicFontImports a TTF, TTC, OTF, OTC, WOFF or WOFF2 font file for font rendering that adapts to any size.
class ResourceImporterImageImports a image for use in scripting, with no rendering capabilities.
class ResourceImporterImageFontImports a bitmap font where all glyphs have the same width and height.
class ResourceImporterLayeredTextureImports a 3-dimensional texture (Texture3D), a Texture2DArray, a Cubemap or a CubemapArray.
class ResourceImporterMP3Imports an MP3 audio file for playback.
class ResourceImporterOBJImports an OBJ 3D model as an independent Mesh or scene.
class ResourceImporterOggVorbisImports an Ogg Vorbis audio file for playback.
class ResourceImporterSceneImports a glTF, FBX, Collada or Blender 3D scene.
class ResourceImporterShaderFileImports native GLSL shaders (not Godot shaders) as a RDShaderFile.
class ResourceImporterTextureImports an image for use in 2D or 3D rendering.
class ResourceImporterTextureAtlasImports a collection of textures from a PNG image into an optimized AtlasTexture for 2D rendering.
class ResourceImporterWAVImports a WAV audio file for playback.