mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Sync with latest 4.0-alpha
This commit is contained in:
@@ -112,11 +112,11 @@ Callable must accept a message string and a data array as argument. If the messa
|
||||
|
||||
Registers a profiler with the given ``name``.
|
||||
|
||||
``toggle`` callable is called when the profiler is enabled/disabled. It must take an argument array as an argument.
|
||||
\ ``toggle`` callable is called when the profiler is enabled/disabled. It must take an argument array as an argument.
|
||||
|
||||
``add`` callable is called when data is added to profiler using :ref:`profiler_add_frame_data<class_EngineDebugger_method_profiler_add_frame_data>`. It must take a data array as argument.
|
||||
\ ``add`` callable is called when data is added to profiler using :ref:`profiler_add_frame_data<class_EngineDebugger_method_profiler_add_frame_data>`. It must take a data array as argument.
|
||||
|
||||
``tick`` callable is called at every active profiler iteration. It must take frame time, idle time, physics time, and physics idle time as arguments.
|
||||
\ ``tick`` callable is called at every active profiler iteration. It must take frame time, idle time, physics time, and physics idle time as arguments.
|
||||
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user