feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -29,6 +29,12 @@
|
|||
If any of the controls added can gain keyboard focus, add it here. This ensures that focus will be restored if the inspector is refreshed.
|
||||
</description>
|
||||
</method>
|
||||
<method name="deselect">
|
||||
<return type="void" />
|
||||
<description>
|
||||
Draw property as not selected. Used by the inspector.
|
||||
</description>
|
||||
</method>
|
||||
<method name="emit_changed">
|
||||
<return type="void" />
|
||||
<param index="0" name="property" type="StringName" />
|
||||
|
|
@ -51,6 +57,19 @@
|
|||
Gets the edited property. If your editor is for a single property (added via [method EditorInspectorPlugin._parse_property]), then this will return the property.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_selected" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if property is drawn as selected. Used by the inspector.
|
||||
</description>
|
||||
</method>
|
||||
<method name="select">
|
||||
<return type="void" />
|
||||
<param index="0" name="focusable" type="int" default="-1" />
|
||||
<description>
|
||||
Draw property as selected. Used by the inspector.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_bottom_editor">
|
||||
<return type="void" />
|
||||
<param index="0" name="editor" type="Control" />
|
||||
|
|
@ -58,6 +77,21 @@
|
|||
Puts the [param editor] control below the property label. The control must be previously added using [method Node.add_child].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_label_reference">
|
||||
<return type="void" />
|
||||
<param index="0" name="control" type="Control" />
|
||||
<description>
|
||||
Used by the inspector, set to a control that will be used as a reference to calculate the size of the label.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_object_and_property">
|
||||
<return type="void" />
|
||||
<param index="0" name="object" type="Object" />
|
||||
<param index="1" name="property" type="StringName" />
|
||||
<description>
|
||||
Assigns object and property to edit.
|
||||
</description>
|
||||
</method>
|
||||
<method name="update_property">
|
||||
<return type="void" />
|
||||
<description>
|
||||
|
|
@ -75,6 +109,12 @@
|
|||
<member name="deletable" type="bool" setter="set_deletable" getter="is_deletable" default="false">
|
||||
Used by the inspector, set to [code]true[/code] when the property can be deleted by the user.
|
||||
</member>
|
||||
<member name="draw_background" type="bool" setter="set_draw_background" getter="is_draw_background" default="true">
|
||||
Used by the inspector, set to [code]true[/code] when the property label is drawn.
|
||||
</member>
|
||||
<member name="draw_label" type="bool" setter="set_draw_label" getter="is_draw_label" default="true">
|
||||
Used by the inspector, set to [code]true[/code] when the property background is drawn.
|
||||
</member>
|
||||
<member name="draw_warning" type="bool" setter="set_draw_warning" getter="is_draw_warning" default="false">
|
||||
Used by the inspector, set to [code]true[/code] when the property is drawn with the editor theme's warning color. This is used for editable children's properties.
|
||||
</member>
|
||||
|
|
@ -84,9 +124,18 @@
|
|||
<member name="label" type="String" setter="set_label" getter="get_label" default="""">
|
||||
Set this property to change the label (if you want to show one).
|
||||
</member>
|
||||
<member name="name_split_ratio" type="float" setter="set_name_split_ratio" getter="get_name_split_ratio" default="0.5">
|
||||
Space distribution ratio between the label and the editing field.
|
||||
</member>
|
||||
<member name="read_only" type="bool" setter="set_read_only" getter="is_read_only" default="false" keywords="enabled, disabled, editable">
|
||||
Used by the inspector, set to [code]true[/code] when the property is read-only.
|
||||
</member>
|
||||
<member name="selectable" type="bool" setter="set_selectable" getter="is_selectable" default="true">
|
||||
Used by the inspector, set to [code]true[/code] when the property is selectable.
|
||||
</member>
|
||||
<member name="use_folding" type="bool" setter="set_use_folding" getter="is_using_folding" default="false">
|
||||
Used by the inspector, set to [code]true[/code] when the property is using folding.
|
||||
</member>
|
||||
</members>
|
||||
<signals>
|
||||
<signal name="multiple_properties_changed">
|
||||
|
|
@ -132,6 +181,13 @@
|
|||
Emitted when a property was deleted. Used internally.
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="property_favorited">
|
||||
<param index="0" name="property" type="StringName" />
|
||||
<param index="1" name="favorited" type="bool" />
|
||||
<description>
|
||||
Emit it if you want to mark a property as favorited, making it appear at the top of the inspector.
|
||||
</description>
|
||||
</signal>
|
||||
<signal name="property_keyed">
|
||||
<param index="0" name="property" type="StringName" />
|
||||
<description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue