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 a 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 / Constants

Label​Show​Overlay


[Localized]
public constant LabelShowOverlay → ("Show value overlay?":string)

Label for toggling display of the profiler value overlay.

Public / Constructors

Profiler​Gui


public constructor ProfilerGui → ()

Creates a new instance of ProfilerGui.

Public / Methods

Render​Overlay


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.