ProfilerGui

Description

sealed class Tinman.AddOns.Components.ProfilerGui

Full source code is included in the Tinman 3D SDK download.

A GUI component that displays the properties of an IProfiler object.

The following default Layout settings are defined for MeshDynamicGui objects:

The ProfilerGui component has an additional 2D-overlay that may be rendered separately (see RenderOverlay).

Public / Constructors

ProfilerGui


public constructor ProfilerGui → ()

Creates a new instance of ProfilerGui.

Public / Methods

RenderOverlay


public method RenderOverlay → (2)

in : Graphics

[not-null]
The graphics object to use.

bounds in : Box2I

The bounds to use.

Renders the 2D-overlay for the profiler GUI.

The 2D-overlay displays a horizontal bar for each profiler value that has been checked in the GUI list.

Public / Attributes

Profiler


public attribute Profiler → (get,set)

value : IProfiler

The current profiler object or null if none.

The current IProfiler object.