diff options
author | George Marques <george@gmarqu.es> | 2018-02-13 11:59:56 -0200 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2018-02-13 11:59:56 -0200 |
commit | c68948fdfaf154acc00b9b92f44875d8518957c4 (patch) | |
tree | f8c9a0900064dd36a0e158bc9129939d943909a2 /doc | |
parent | 31dd21a8d9c3d30d7347fc30f18cd17a41a9b4bc (diff) |
Expose priority and order for custom import plugins
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/EditorImportPlugin.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/classes/EditorImportPlugin.xml b/doc/classes/EditorImportPlugin.xml index 07d6f92274..85f3d80607 100644 --- a/doc/classes/EditorImportPlugin.xml +++ b/doc/classes/EditorImportPlugin.xml @@ -64,6 +64,13 @@ Get the options and default values for the preset at this index. Returns an Array of Dictionaries with the following keys: "name", "default_value", "property_hint" (optional), "hint_string" (optional), "usage" (optional). </description> </method> + <method name="get_import_order" qualifiers="virtual"> + <return type="int"> + </return> + <description> + Get the order of this importer to be run when importing resources. Higher values will be called later. Use this to ensure the importer runs after the dependencies are already imported. + </description> + </method> <method name="get_importer_name" qualifiers="virtual"> <return type="String"> </return> @@ -97,6 +104,13 @@ Get the name of the options preset at this index. </description> </method> + <method name="get_priority" qualifiers="virtual"> + <return type="float"> + </return> + <description> + Get the priority of this plugin for the recognized extension. Higher priority plugins will be preferred. Default value is 1.0. + </description> + </method> <method name="get_recognized_extensions" qualifiers="virtual"> <return type="Array"> </return> |