mirror of
https://github.com/Relintai/pandemonium_engine_docs.git
synced 2025-01-23 15:17:21 +01:00
122 lines
7.3 KiB
ReStructuredText
122 lines
7.3 KiB
ReStructuredText
|
: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.
|
||
|
|
||
|
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.
|
||
|
|
||
|
Methods
|
||
|
-------
|
||
|
|
||
|
+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
|
| :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 **)** |
|
||
|
+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
|
|
||
|
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<class_Array>` **_get_extensions** **(** **)** |virtual|
|
||
|
|
||
|
----
|
||
|
|
||
|
.. _class_EditorSceneImporter_method__get_import_flags:
|
||
|
|
||
|
- :ref:`int<class_int>` **_get_import_flags** **(** **)** |virtual|
|
||
|
|
||
|
----
|
||
|
|
||
|
.. _class_EditorSceneImporter_method__import_animation:
|
||
|
|
||
|
- :ref:`Animation<class_Animation>` **_import_animation** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps **)** |virtual|
|
||
|
|
||
|
----
|
||
|
|
||
|
.. _class_EditorSceneImporter_method__import_scene:
|
||
|
|
||
|
- :ref:`Node<class_Node>` **_import_scene** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`int<class_int>` bake_fps **)** |virtual|
|
||
|
|
||
|
----
|
||
|
|
||
|
.. _class_EditorSceneImporter_method_import_animation_from_other_importer:
|
||
|
|
||
|
- :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 **)**
|
||
|
|
||
|
----
|
||
|
|
||
|
.. _class_EditorSceneImporter_method_import_scene_from_other_importer:
|
||
|
|
||
|
- :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 **)**
|
||
|
|
||
|
.. |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.)`
|