From e8f15f799681673e97f6cb1c99a6e698ea33ba84 Mon Sep 17 00:00:00 2001 From: pycbouh Date: Mon, 17 May 2021 15:25:38 +0300 Subject: Add EditorResourcePicker control based on the Inspector editor for Resources Fix formatting for the docs --- doc/classes/EditorResourcePicker.xml | 84 ++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 doc/classes/EditorResourcePicker.xml (limited to 'doc/classes') diff --git a/doc/classes/EditorResourcePicker.xml b/doc/classes/EditorResourcePicker.xml new file mode 100644 index 0000000000..e31a681b8b --- /dev/null +++ b/doc/classes/EditorResourcePicker.xml @@ -0,0 +1,84 @@ + + + + Godot editor's control for selecting [Resource] type properties. + + + This is a [Control] node similar to the one used in the Inspector dock when editing [Resource]s. It provides options for creating, loading, saving and converting resources. + [b]Note:[/b] It does not include an editor for the resource. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a list of all allowed types and subtypes corresponding to the [member base_type]. If the [member base_type] is empty, an empty list is returned. + + + + + + + + + + + + + + + + The base type of allowed resource types. Can be a comma-separated list of several options. + + + If [code]true[/code], the value can be selected and edited. + + + The edited resource value. + + + + + + + + Emitted when the value of the edited resource was changed. + + + + + + + Emitted when the resource value was set and user clicked to edit it. + + + + + + -- cgit v1.2.3