mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-04 10:09:56 +03:00
Currently including `zh_CN` and `es` which both have very high completion ratios. Others will be added once they reach a significant percentage too. These RST files will be used by godot-docs in place of its `classes` folder after we sync with https://github.com/godotengine/godot-docs/pull/5458. The update workflow is manual for now (example for `zh_CN`): - Build `godotengine/godot` in the branch we currently track (now `3.x`) - Run `godot --doctool -l zh_CN` - Run `cd doc && make rst LANGARG=zh_CN` - Copy `doc/_build/rst/*` to `classes/zh_CN/` here - Make sure to have `classes/zh_CN/index.rst` copied from `docs/classes`
114 lines
7.0 KiB
ReStructuredText
114 lines
7.0 KiB
ReStructuredText
: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/<name>/doc_classes.
|
|
|
|
.. _class_EditorSceneImporter:
|
|
|
|
EditorSceneImporter
|
|
===================
|
|
|
|
**Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
|
|
|
**Inherited By:** :ref:`EditorSceneImporterFBX<class_EditorSceneImporterFBX>`, :ref:`EditorSceneImporterGLTF<class_EditorSceneImporterGLTF>`
|
|
|
|
Importa escenas de archivos 3D de terceros.
|
|
|
|
Métodos
|
|
--------------
|
|
|
|
+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :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 **)** |
|
|
+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Constantes
|
|
--------------------
|
|
|
|
.. _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**
|
|
|
|
Descripciones de Métodos
|
|
------------------------------------------------
|
|
|
|
.. _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.)`
|