123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- :github_url: hide
- .. DO NOT EDIT THIS FILE!!!
- .. Generated automatically from Godot engine sources.
- .. Generator: https://github.com/godotengine/godot/tree/3.5/doc/tools/make_rst.py.
- .. XML source: https://github.com/godotengine/godot/tree/3.5/doc/classes/EditorSceneImporter.xml.
- .. _class_EditorSceneImporter:
- EditorSceneImporter
- ===================
- **Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
- **Inherited By:** :ref:`EditorSceneImporterFBX<class_EditorSceneImporterFBX>`, :ref:`EditorSceneImporterGLTF<class_EditorSceneImporterGLTF>`
- Imports scenes from third-parties' 3D files.
- .. rst-class:: classref-introduction-group
- 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<class_EditorPlugin_method_add_scene_import_plugin>` method first.
- .. rst-class:: classref-reftable-group
- Methods
- -------
- .. table::
- :widths: auto
- +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Array<class_Array>` | :ref:`_get_extensions<class_EditorSceneImporter_method__get_extensions>` **(** **)** |virtual| |
- +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_get_import_flags<class_EditorSceneImporter_method__get_import_flags>` **(** **)** |virtual| |
- +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Animation<class_Animation>` | :ref:`_import_animation<class_EditorSceneImporter_method__import_animation>` **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps **)** |virtual| |
- +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Node<class_Node>` | :ref:`_import_scene<class_EditorSceneImporter_method__import_scene>` **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps **)** |virtual| |
- +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Animation<class_Animation>` | :ref:`import_animation_from_other_importer<class_EditorSceneImporter_method_import_animation_from_other_importer>` **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps **)** |
- +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Node<class_Node>` | :ref:`import_scene_from_other_importer<class_EditorSceneImporter_method_import_scene_from_other_importer>` **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps, :ref:`int<class_int>` compress_flags **)** |
- +-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Constants
- ---------
- .. _class_EditorSceneImporter_constant_IMPORT_SCENE:
- .. rst-class:: classref-constant
- **IMPORT_SCENE** = ``1``
- .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION:
- .. rst-class:: classref-constant
- **IMPORT_ANIMATION** = ``2``
- .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION_DETECT_LOOP:
- .. rst-class:: classref-constant
- **IMPORT_ANIMATION_DETECT_LOOP** = ``4``
- .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION_OPTIMIZE:
- .. rst-class:: classref-constant
- **IMPORT_ANIMATION_OPTIMIZE** = ``8``
- .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION_FORCE_ALL_TRACKS_IN_ALL_CLIPS:
- .. rst-class:: classref-constant
- **IMPORT_ANIMATION_FORCE_ALL_TRACKS_IN_ALL_CLIPS** = ``16``
- .. _class_EditorSceneImporter_constant_IMPORT_ANIMATION_KEEP_VALUE_TRACKS:
- .. rst-class:: classref-constant
- **IMPORT_ANIMATION_KEEP_VALUE_TRACKS** = ``32``
- .. _class_EditorSceneImporter_constant_IMPORT_GENERATE_TANGENT_ARRAYS:
- .. rst-class:: classref-constant
- **IMPORT_GENERATE_TANGENT_ARRAYS** = ``256``
- .. _class_EditorSceneImporter_constant_IMPORT_FAIL_ON_MISSING_DEPENDENCIES:
- .. rst-class:: classref-constant
- **IMPORT_FAIL_ON_MISSING_DEPENDENCIES** = ``512``
- .. _class_EditorSceneImporter_constant_IMPORT_MATERIALS_IN_INSTANCES:
- .. rst-class:: classref-constant
- **IMPORT_MATERIALS_IN_INSTANCES** = ``1024``
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Method Descriptions
- -------------------
- .. _class_EditorSceneImporter_method__get_extensions:
- .. rst-class:: classref-method
- :ref:`Array<class_Array>` **_get_extensions** **(** **)** |virtual|
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_EditorSceneImporter_method__get_import_flags:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **_get_import_flags** **(** **)** |virtual|
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_EditorSceneImporter_method__import_animation:
- .. rst-class:: classref-method
- :ref:`Animation<class_Animation>` **_import_animation** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps **)** |virtual|
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_EditorSceneImporter_method__import_scene:
- .. rst-class:: classref-method
- :ref:`Node<class_Node>` **_import_scene** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps **)** |virtual|
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_EditorSceneImporter_method_import_animation_from_other_importer:
- .. rst-class:: classref-method
- :ref:`Animation<class_Animation>` **import_animation_from_other_importer** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps **)**
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_EditorSceneImporter_method_import_scene_from_other_importer:
- .. rst-class:: classref-method
- :ref:`Node<class_Node>` **import_scene_from_other_importer** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps, :ref:`int<class_int>` compress_flags **)**
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. |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.)`
- .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|