reckfellENGINE

EngineProfiler

Base class for creating custom profilers.

On this page
class EngineProfilerReckfellSharpInherits RefCounted

Base class for creating custom profilers.

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.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

EngineProfilerConstructor
# EngineProfiler
C#
public EngineProfiler();

Methods3

_AddFramevoid
# _AddFrame
C#
public virtual void _AddFrame(Reckfell.Collections.Array data);

Called when data is added to profiler using EngineDebugger.ProfilerAddFrameData.

Parameters
NameTypeDefault
dataReckfell.Collections.Array—
_Tickvoid
# _Tick
C#
public virtual void _Tick(double frameTime, double processTime, double physicsTime, double physicsFrameTime);

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.

Parameters
NameTypeDefault
frameTimedouble—
processTimedouble—
physicsTimedouble—
physicsFrameTimedouble—
_Togglevoid
# _Toggle
C#
public virtual void _Toggle(bool enable, Reckfell.Collections.Array options);

Called when the profiler is enabled/disabled, along with a set of options.

Parameters
NameTypeDefault
enablebool—
optionsReckfell.Collections.Array—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.