:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the EditorSceneImporter.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_EditorSceneImporter: EditorSceneImporter =================== **Inherits:** :ref:`Reference` **<** :ref:`Object` **Inherited By:** :ref:`EditorSceneImporterFBX`, :ref:`EditorSceneImporterGLTF` Imports scenes from third-parties' 3D files. Description ----------- ``EditorSceneImporter`` allows to define an importer script for a third-party 3D format. To use ``EditorSceneImporter``, register it using the :ref:`EditorPlugin.add_scene_import_plugin` method first. Methods ------- +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`_get_extensions` **(** **)** |virtual| | +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_import_flags` **(** **)** |virtual| | +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Animation` | :ref:`_import_animation` **(** :ref:`String` path, :ref:`int` flags, :ref:`int` bake_fps **)** |virtual| | +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Node` | :ref:`_import_scene` **(** :ref:`String` path, :ref:`int` flags, :ref:`int` bake_fps **)** |virtual| | +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Animation` | :ref:`import_animation_from_other_importer` **(** :ref:`String` path, :ref:`int` flags, :ref:`int` bake_fps **)** | +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Node` | :ref:`import_scene_from_other_importer` **(** :ref:`String` path, :ref:`int` flags, :ref:`int` bake_fps, :ref:`int` compress_flags **)** | +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Constants --------- .. _class_EditorSceneImporter_constant_IMPORT_SCENE: .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION: .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION_DETECT_LOOP: .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION_OPTIMIZE: .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION_FORCE_ALL_TRACKS_IN_ALL_CLIPS: .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION_KEEP_VALUE_TRACKS: .. _class_EditorSceneImporter_constant_IMPORT_GENERATE_TANGENT_ARRAYS: .. _class_EditorSceneImporter_constant_IMPORT_FAIL_ON_MISSING_DEPENDENCIES: .. _class_EditorSceneImporter_constant_IMPORT_MATERIALS_IN_INSTANCES: - **IMPORT_SCENE** = **1** - **IMPORT_ANIMATION** = **2** - **IMPORT_ANIMATION_DETECT_LOOP** = **4** - **IMPORT_ANIMATION_OPTIMIZE** = **8** - **IMPORT_ANIMATION_FORCE_ALL_TRACKS_IN_ALL_CLIPS** = **16** - **IMPORT_ANIMATION_KEEP_VALUE_TRACKS** = **32** - **IMPORT_GENERATE_TANGENT_ARRAYS** = **256** - **IMPORT_FAIL_ON_MISSING_DEPENDENCIES** = **512** - **IMPORT_MATERIALS_IN_INSTANCES** = **1024** Method Descriptions ------------------- .. _class_EditorSceneImporter_method__get_extensions: - :ref:`Array` **_get_extensions** **(** **)** |virtual| ---- .. _class_EditorSceneImporter_method__get_import_flags: - :ref:`int` **_get_import_flags** **(** **)** |virtual| ---- .. _class_EditorSceneImporter_method__import_animation: - :ref:`Animation` **_import_animation** **(** :ref:`String` path, :ref:`int` flags, :ref:`int` bake_fps **)** |virtual| ---- .. _class_EditorSceneImporter_method__import_scene: - :ref:`Node` **_import_scene** **(** :ref:`String` path, :ref:`int` flags, :ref:`int` bake_fps **)** |virtual| ---- .. _class_EditorSceneImporter_method_import_animation_from_other_importer: - :ref:`Animation` **import_animation_from_other_importer** **(** :ref:`String` path, :ref:`int` flags, :ref:`int` bake_fps **)** ---- .. _class_EditorSceneImporter_method_import_scene_from_other_importer: - :ref:`Node` **import_scene_from_other_importer** **(** :ref:`String` path, :ref:`int` flags, :ref:`int` bake_fps, :ref:`int` compress_flags **)** .. |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.)`