class_editorfilesystemimportformatsupportquery.rst 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/EditorFileSystemImportFormatSupportQuery.xml.
  6. .. _class_EditorFileSystemImportFormatSupportQuery:
  7. EditorFileSystemImportFormatSupportQuery
  8. ========================================
  9. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Used to query and configure import format support.
  11. Description
  12. -----------
  13. This class is used to query and configure a certain import format. It is used in conjunction with asset format import plugins.
  14. Methods
  15. -------
  16. +---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`PackedStringArray<class_PackedStringArray>` | :ref:`_get_file_extensions<class_EditorFileSystemImportFormatSupportQuery_method__get_file_extensions>` **(** **)** |virtual| |const| |
  18. +---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`bool<class_bool>` | :ref:`_is_active<class_EditorFileSystemImportFormatSupportQuery_method__is_active>` **(** **)** |virtual| |const| |
  20. +---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`bool<class_bool>` | :ref:`_query<class_EditorFileSystemImportFormatSupportQuery_method__query>` **(** **)** |virtual| |const| |
  22. +---------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------+
  23. Method Descriptions
  24. -------------------
  25. .. _class_EditorFileSystemImportFormatSupportQuery_method__get_file_extensions:
  26. - :ref:`PackedStringArray<class_PackedStringArray>` **_get_file_extensions** **(** **)** |virtual| |const|
  27. Return the file extensions supported.
  28. ----
  29. .. _class_EditorFileSystemImportFormatSupportQuery_method__is_active:
  30. - :ref:`bool<class_bool>` **_is_active** **(** **)** |virtual| |const|
  31. Return whether this importer is active.
  32. ----
  33. .. _class_EditorFileSystemImportFormatSupportQuery_method__query:
  34. - :ref:`bool<class_bool>` **_query** **(** **)** |virtual| |const|
  35. Query support. Return false if import must not continue.
  36. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  37. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  38. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  39. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  40. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  41. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`