summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2023-01-31 19:08:46 +0100
committerRaul Santos <raulsntos@gmail.com>2023-01-31 23:31:15 +0100
commitc7f4ca36a4541686d5944f7bf88e1aa7d32cc24f (patch)
treec3a8426fe3781fa2babb2af469a67b2c0d2d5c53 /doc
parent9e9eac46763feec5334f50c55b5ffdd233ae6472 (diff)
Use `PropertyUsageFlags` enum in parse_property
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/EditorInspectorPlugin.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/EditorInspectorPlugin.xml b/doc/classes/EditorInspectorPlugin.xml
index ba2f7b24bf..7ffd7f9426 100644
--- a/doc/classes/EditorInspectorPlugin.xml
+++ b/doc/classes/EditorInspectorPlugin.xml
@@ -56,11 +56,11 @@
<method name="_parse_property" qualifiers="virtual">
<return type="bool" />
<param index="0" name="object" type="Object" />
- <param index="1" name="type" type="int" />
+ <param index="1" name="type" type="int" enum="Variant.Type" />
<param index="2" name="name" type="String" />
- <param index="3" name="hint_type" type="int" />
+ <param index="3" name="hint_type" type="int" enum="PropertyHint" />
<param index="4" name="hint_string" type="String" />
- <param index="5" name="usage_flags" type="int" />
+ <param index="5" name="usage_flags" type="int" enum="PropertyUsageFlags" />
<param index="6" name="wide" type="bool" />
<description>
Called to allow adding property-specific editors to the property list for [param object]. The added editor control must extend [EditorProperty]. Returning [code]true[/code] removes the built-in editor for this property, otherwise allows to insert a custom editor before the built-in one.