summaryrefslogtreecommitdiff
path: root/doc/classes/EngineDebugger.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/EngineDebugger.xml')
-rw-r--r--doc/classes/EngineDebugger.xml32
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/classes/EngineDebugger.xml b/doc/classes/EngineDebugger.xml
index cd502dce81..c3e76b8cad 100644
--- a/doc/classes/EngineDebugger.xml
+++ b/doc/classes/EngineDebugger.xml
@@ -11,14 +11,14 @@
<methods>
<method name="has_capture">
<return type="bool" />
- <argument index="0" name="name" type="StringName" />
+ <param index="0" name="name" type="StringName" />
<description>
Returns [code]true[/code] if a capture with the given name is present otherwise [code]false[/code].
</description>
</method>
<method name="has_profiler">
<return type="bool" />
- <argument index="0" name="name" type="StringName" />
+ <param index="0" name="name" type="StringName" />
<description>
Returns [code]true[/code] if a profiler with the given name is present otherwise [code]false[/code].
</description>
@@ -31,32 +31,32 @@
</method>
<method name="is_profiling">
<return type="bool" />
- <argument index="0" name="name" type="StringName" />
+ <param index="0" name="name" type="StringName" />
<description>
Returns [code]true[/code] if a profiler with the given name is present and active otherwise [code]false[/code].
</description>
</method>
<method name="profiler_add_frame_data">
<return type="void" />
- <argument index="0" name="name" type="StringName" />
- <argument index="1" name="data" type="Array" />
+ <param index="0" name="name" type="StringName" />
+ <param index="1" name="data" type="Array" />
<description>
Calls the [code]add[/code] callable of the profiler with given [code]name[/code] and [code]data[/code].
</description>
</method>
<method name="profiler_enable">
<return type="void" />
- <argument index="0" name="name" type="StringName" />
- <argument index="1" name="enable" type="bool" />
- <argument index="2" name="arguments" type="Array" default="[]" />
+ <param index="0" name="name" type="StringName" />
+ <param index="1" name="enable" type="bool" />
+ <param index="2" name="arguments" type="Array" default="[]" />
<description>
Calls the [code]toggle[/code] callable of the profiler with given [code]name[/code] and [code]arguments[/code]. Enables/Disables the same profiler depending on [code]enable[/code] argument.
</description>
</method>
<method name="register_message_capture">
<return type="void" />
- <argument index="0" name="name" type="StringName" />
- <argument index="1" name="callable" type="Callable" />
+ <param index="0" name="name" type="StringName" />
+ <param index="1" name="callable" type="Callable" />
<description>
Registers a message capture with given [code]name[/code]. If [code]name[/code] is "my_message" then messages starting with "my_message:" will be called with the given callable.
Callable must accept a message string and a data array as argument. If the message and data are valid then callable must return [code]true[/code] otherwise [code]false[/code].
@@ -64,30 +64,30 @@
</method>
<method name="register_profiler">
<return type="void" />
- <argument index="0" name="name" type="StringName" />
- <argument index="1" name="profiler" type="EngineProfiler" />
+ <param index="0" name="name" type="StringName" />
+ <param index="1" name="profiler" type="EngineProfiler" />
<description>
Registers a profiler with the given [code]name[/code]. See [EngineProfiler] for more information.
</description>
</method>
<method name="send_message">
<return type="void" />
- <argument index="0" name="message" type="String" />
- <argument index="1" name="data" type="Array" />
+ <param index="0" name="message" type="String" />
+ <param index="1" name="data" type="Array" />
<description>
Sends a message with given [code]message[/code] and [code]data[/code] array.
</description>
</method>
<method name="unregister_message_capture">
<return type="void" />
- <argument index="0" name="name" type="StringName" />
+ <param index="0" name="name" type="StringName" />
<description>
Unregisters the message capture with given [code]name[/code].
</description>
</method>
<method name="unregister_profiler">
<return type="void" />
- <argument index="0" name="name" type="StringName" />
+ <param index="0" name="name" type="StringName" />
<description>
Unregisters a profiler with given [code]name[/code].
</description>