class_editorsceneformatimporter.rst 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/4.0/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.0/doc/classes/EditorSceneFormatImporter.xml.
  6. .. _class_EditorSceneFormatImporter:
  7. EditorSceneFormatImporter
  8. =========================
  9. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`EditorSceneFormatImporterBlend<class_EditorSceneFormatImporterBlend>`, :ref:`EditorSceneFormatImporterFBX<class_EditorSceneFormatImporterFBX>`, :ref:`EditorSceneFormatImporterGLTF<class_EditorSceneFormatImporterGLTF>`
  11. Imports scenes from third-parties' 3D files.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. **EditorSceneFormatImporter** allows to define an importer script for a third-party 3D format.
  16. To use **EditorSceneFormatImporter**, register it using the :ref:`EditorPlugin.add_scene_format_importer_plugin<class_EditorPlugin_method_add_scene_format_importer_plugin>` method first.
  17. .. rst-class:: classref-reftable-group
  18. Methods
  19. -------
  20. .. table::
  21. :widths: auto
  22. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`PackedStringArray<class_PackedStringArray>` | :ref:`_get_extensions<class_EditorSceneFormatImporter_method__get_extensions>` **(** **)** |virtual| |const| |
  24. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  25. | :ref:`int<class_int>` | :ref:`_get_import_flags<class_EditorSceneFormatImporter_method__get_import_flags>` **(** **)** |virtual| |const| |
  26. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  27. | void | :ref:`_get_import_options<class_EditorSceneFormatImporter_method__get_import_options>` **(** :ref:`String<class_String>` path **)** |virtual| |
  28. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  29. | :ref:`Variant<class_Variant>` | :ref:`_get_option_visibility<class_EditorSceneFormatImporter_method__get_option_visibility>` **(** :ref:`String<class_String>` path, :ref:`bool<class_bool>` for_animation, :ref:`String<class_String>` option **)** |virtual| |const| |
  30. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  31. | :ref:`Object<class_Object>` | :ref:`_import_scene<class_EditorSceneFormatImporter_method__import_scene>` **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`Dictionary<class_Dictionary>` options **)** |virtual| |
  32. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  33. .. rst-class:: classref-section-separator
  34. ----
  35. .. rst-class:: classref-descriptions-group
  36. Constants
  37. ---------
  38. .. _class_EditorSceneFormatImporter_constant_IMPORT_SCENE:
  39. .. rst-class:: classref-constant
  40. **IMPORT_SCENE** = ``1``
  41. .. _class_EditorSceneFormatImporter_constant_IMPORT_ANIMATION:
  42. .. rst-class:: classref-constant
  43. **IMPORT_ANIMATION** = ``2``
  44. .. _class_EditorSceneFormatImporter_constant_IMPORT_FAIL_ON_MISSING_DEPENDENCIES:
  45. .. rst-class:: classref-constant
  46. **IMPORT_FAIL_ON_MISSING_DEPENDENCIES** = ``4``
  47. .. _class_EditorSceneFormatImporter_constant_IMPORT_GENERATE_TANGENT_ARRAYS:
  48. .. rst-class:: classref-constant
  49. **IMPORT_GENERATE_TANGENT_ARRAYS** = ``8``
  50. .. _class_EditorSceneFormatImporter_constant_IMPORT_USE_NAMED_SKIN_BINDS:
  51. .. rst-class:: classref-constant
  52. **IMPORT_USE_NAMED_SKIN_BINDS** = ``16``
  53. .. _class_EditorSceneFormatImporter_constant_IMPORT_DISCARD_MESHES_AND_MATERIALS:
  54. .. rst-class:: classref-constant
  55. **IMPORT_DISCARD_MESHES_AND_MATERIALS** = ``32``
  56. .. rst-class:: classref-section-separator
  57. ----
  58. .. rst-class:: classref-descriptions-group
  59. Method Descriptions
  60. -------------------
  61. .. _class_EditorSceneFormatImporter_method__get_extensions:
  62. .. rst-class:: classref-method
  63. :ref:`PackedStringArray<class_PackedStringArray>` **_get_extensions** **(** **)** |virtual| |const|
  64. .. container:: contribute
  65. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  66. .. rst-class:: classref-item-separator
  67. ----
  68. .. _class_EditorSceneFormatImporter_method__get_import_flags:
  69. .. rst-class:: classref-method
  70. :ref:`int<class_int>` **_get_import_flags** **(** **)** |virtual| |const|
  71. .. container:: contribute
  72. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  73. .. rst-class:: classref-item-separator
  74. ----
  75. .. _class_EditorSceneFormatImporter_method__get_import_options:
  76. .. rst-class:: classref-method
  77. void **_get_import_options** **(** :ref:`String<class_String>` path **)** |virtual|
  78. .. container:: contribute
  79. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  80. .. rst-class:: classref-item-separator
  81. ----
  82. .. _class_EditorSceneFormatImporter_method__get_option_visibility:
  83. .. rst-class:: classref-method
  84. :ref:`Variant<class_Variant>` **_get_option_visibility** **(** :ref:`String<class_String>` path, :ref:`bool<class_bool>` for_animation, :ref:`String<class_String>` option **)** |virtual| |const|
  85. .. container:: contribute
  86. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  87. .. rst-class:: classref-item-separator
  88. ----
  89. .. _class_EditorSceneFormatImporter_method__import_scene:
  90. .. rst-class:: classref-method
  91. :ref:`Object<class_Object>` **_import_scene** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` flags, :ref:`Dictionary<class_Dictionary>` options **)** |virtual|
  92. .. container:: contribute
  93. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  94. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  95. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  96. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  97. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  98. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  99. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`