Quantum 3 3.0.14

Public Member Functions | Static Public Attributes | List of all members
Quantum.NavMeshBakerBenchmarkerProgressBar Class Reference

An implementation of the IProgressBar used for the navmesh baking. The internal baking process will set additional information on this class. The progress bar is only showed when the LogLevel is set to Debug. More...

Inheritance diagram for Quantum.NavMeshBakerBenchmarkerProgressBar:
Quantum.IProgressBar

Public Member Functions

 NavMeshBakerBenchmarkerProgressBar (string name)
 Create a new instance of the progress bar. More...
 
void Dispose ()
 Complete, dispose the progress bar and logs a result. More...
 
void SetInfo (string v)
 Complete the current section, add a new section to the progress bar and restart the timer. More...
 
void SetProgress (float v)
 Set the progress of the current section. More...
 

Static Public Attributes

static bool EnableProgressBar = true
 Set to disable the Unity progress bar. More...
 
static bool EnableResultLog = true
 Set to disable the result log. More...
 

Detailed Description

An implementation of the IProgressBar used for the navmesh baking. The internal baking process will set additional information on this class. The progress bar is only showed when the LogLevel is set to Debug.

Constructor & Destructor Documentation

◆ NavMeshBakerBenchmarkerProgressBar()

Quantum.NavMeshBakerBenchmarkerProgressBar.NavMeshBakerBenchmarkerProgressBar ( string  name)
inline

Create a new instance of the progress bar.

Parameters
nameProgress bar name

Member Function Documentation

◆ SetInfo()

void Quantum.NavMeshBakerBenchmarkerProgressBar.SetInfo ( string  v)
inline

Complete the current section, add a new section to the progress bar and restart the timer.

Parameters
vSection name

Implements Quantum.IProgressBar.

◆ SetProgress()

void Quantum.NavMeshBakerBenchmarkerProgressBar.SetProgress ( float  v)
inline

Set the progress of the current section.

Parameters
vProgress between 0..1

Implements Quantum.IProgressBar.

◆ Dispose()

void Quantum.NavMeshBakerBenchmarkerProgressBar.Dispose ( )
inline

Complete, dispose the progress bar and logs a result.

Member Data Documentation

◆ EnableProgressBar

bool Quantum.NavMeshBakerBenchmarkerProgressBar.EnableProgressBar = true
static

Set to disable the Unity progress bar.

◆ EnableResultLog

bool Quantum.NavMeshBakerBenchmarkerProgressBar.EnableResultLog = true
static

Set to disable the result log.