Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
EngineProfiler
Hérite de : RefCounted < Object
Classe de base pour créer des profileurs personnalisés.
Description
This class can be used to implement custom profilers that are able to interact with the engine and editor debugger.
See EngineDebugger and EditorDebuggerPlugin for more information.
Méthodes
void |
_add_frame(data: Array) virtual |
void |
_tick(frame_time: float, process_time: float, physics_time: float, physics_frame_time: float) virtual |
void |
Descriptions des méthodes
void _add_frame(data: Array) virtual 🔗
Appelée lorsque des données sont ajoutées au profileur en utilisant EngineDebugger.profiler_add_frame_data().
void _tick(frame_time: float, process_time: float, physics_time: float, physics_frame_time: float) virtual 🔗
Called once every engine iteration when the profiler is active with information about the current frame. All time values are in seconds. Lower values represent faster processing times and are therefore considered better.
void _toggle(enable: bool, options: Array) virtual 🔗
Called when the profiler is enabled/disabled, along with a set of options.