Skip to content

EditorSceneFormatImporter ​

Inherits: RefCounted < Object

Inherited By: EditorSceneFormatImporterBlend, EditorSceneFormatImporterFBX2GLTF, EditorSceneFormatImporterGLTF, EditorSceneFormatImporterUFBX

Imports scenes from third-parties' 3D files.

Description

EditorSceneFormatImporter allows to define an importer script for a third-party 3D format.

To use EditorSceneFormatImporter, register it using the EditorPlugin.add_scene_format_importer_plugin method first.

Methods

PackedStringArray

_get_extensions() virtual const

int

_get_import_flags() virtual const

void

_get_import_options(path: String) virtual

Variant

_get_option_visibility(path: String, for_animation: bool, option: String) virtual const

Object

_import_scene(path: String, flags: int, options: Dictionary) virtual


Constants

IMPORT_SCENE = 1 🔗

There is currently no description for this constant. Please help us by Contributing to the class reference!

IMPORT_ANIMATION = 2 🔗

There is currently no description for this constant. Please help us by Contributing to the class reference!

IMPORT_FAIL_ON_MISSING_DEPENDENCIES = 4 🔗

There is currently no description for this constant. Please help us by Contributing to the class reference!

IMPORT_GENERATE_TANGENT_ARRAYS = 8 🔗

There is currently no description for this constant. Please help us by Contributing to the class reference!

IMPORT_USE_NAMED_SKIN_BINDS = 16 🔗

There is currently no description for this constant. Please help us by Contributing to the class reference!

IMPORT_DISCARD_MESHES_AND_MATERIALS = 32 🔗

There is currently no description for this constant. Please help us by Contributing to the class reference!

IMPORT_FORCE_DISABLE_MESH_COMPRESSION = 64 🔗

There is currently no description for this constant. Please help us by Contributing to the class reference!


Method Descriptions

PackedStringArray _get_extensions() virtual const 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


int _get_import_flags() virtual const 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


void _get_import_options(path: String) virtual 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


Variant _get_option_visibility(path: String, for_animation: bool, option: String) virtual const 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


Object _import_scene(path: String, flags: int, options: Dictionary) virtual 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!