Quantum 3 3.0.14

Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Quantum.Profiling.QuantumGraphProfilerMarkers Class Reference

A Quantum graph profiler that records custom markers. More...

Inheritance diagram for Quantum.Profiling.QuantumGraphProfilerMarkers:
Quantum.Profiling.QuantumGraphProfilerMarkerSeries Quantum.Profiling.QuantumGraphProfiler< QuantumGraphSeriesMarker >

Public Member Functions

void SetMarker (int index)
 Set the marker index to true. More...
 
- Public Member Functions inherited from Quantum.Profiling.QuantumGraphProfiler< QuantumGraphSeriesMarker >
void ToggleVisibility ()
 Toggle the visibility of the profiler. More...
 

Static Public Member Functions

static QuantumGraphProfilerMarkers Get (string name)
 Get a marker profiler by name. More...
 
static void Set (int index)
 Set the marker index to true on all marker profilers. More...
 

Static Public Attributes

static readonly List< QuantumGraphProfilerMarkersInstances = new List<QuantumGraphProfilerMarkers>()
 All marker profiler instances. More...
 

Protected Member Functions

override void OnActivated ()
 Called when enabled SetState(bool).
 
override void OnDeactivated ()
 Called when disabled SetState(bool)
 
override void OnDeinitialize ()
 Called during Unity OnDestroy
 
override void OnInitialize ()
 Called during Unity Awake.
 
override void OnUpdate ()
 Called during Unity Update
 
- Protected Member Functions inherited from Quantum.Profiling.QuantumGraphProfilerMarkerSeries
override void OnActivated ()
 Called when enabled SetState(bool).
 
void SetMarkers (params bool[] markers)
 
- Protected Member Functions inherited from Quantum.Profiling.QuantumGraphProfiler< QuantumGraphSeriesMarker >
virtual void OnRestore ()
 Called when the profiler is enabled or disabled. More...
 
virtual void OnTargetFPSChanged (int fps)
 Called when Application.targetFrameRate changed during Update. More...
 

Additional Inherited Members

- Properties inherited from Quantum.Profiling.QuantumGraphProfiler< QuantumGraphSeriesMarker >
TGraph Graph [get]
 The graph object. More...
 
bool IsActive [get]
 Is the profiler active and visible. More...
 
float[] Values [get]
 Recorded values. More...
 

Detailed Description

A Quantum graph profiler that records custom markers.

Member Function Documentation

◆ Get()

static QuantumGraphProfilerMarkers Quantum.Profiling.QuantumGraphProfilerMarkers.Get ( string  name)
inlinestatic

Get a marker profiler by name.

Parameters
nameName
Returns
Marker graph

◆ Set()

static void Quantum.Profiling.QuantumGraphProfilerMarkers.Set ( int  index)
inlinestatic

Set the marker index to true on all marker profilers.

Parameters
index

◆ SetMarker()

void Quantum.Profiling.QuantumGraphProfilerMarkers.SetMarker ( int  index)
inline

Set the marker index to true.

Parameters
indexIndex

Member Data Documentation

◆ Instances

readonly List<QuantumGraphProfilerMarkers> Quantum.Profiling.QuantumGraphProfilerMarkers.Instances = new List<QuantumGraphProfilerMarkers>()
static

All marker profiler instances.