mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
e32215fbad
This PR is a continuation to #54886 * Changed Blender path editor setting from binary to installation. * Add a class to query whether the format is supported. * This class allows to create proper editors to configure support. **NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com> Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="EditorFileSystemImportFormatSupportQuery" inherits="RefCounted" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Used to query and configure import format support.
|
|
</brief_description>
|
|
<description>
|
|
This class is used to query and configure a certain import format. It is used in conjuntion with asset format import plugins.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="_get_file_extensions" qualifiers="virtual const">
|
|
<return type="PackedStringArray" />
|
|
<description>
|
|
Return the file extensions supported.
|
|
</description>
|
|
</method>
|
|
<method name="_is_active" qualifiers="virtual const">
|
|
<return type="bool" />
|
|
<description>
|
|
Return whether this importer is active.
|
|
</description>
|
|
</method>
|
|
<method name="_query" qualifiers="virtual const">
|
|
<return type="bool" />
|
|
<description>
|
|
Query support. Return false if import must not continue.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
</class>
|