Photon Quantum 3.0.0

Public Member Functions | Protected Member Functions | Properties | List of all members
Quantum.Profiling.QuantumGraphProfiler< TGraph > Class Template Reference

The base class for all Quantum graph profilers. More...

Inherits MonoBehaviour.

Public Member Functions

void ToggleVisibility ()
 Toggle the visibility of the profiler. More...
 

Protected Member Functions

virtual void OnActivated ()
 Called when enabled SetState(bool). More...
 
virtual void OnDeactivated ()
 Called when disabled SetState(bool) More...
 
virtual void OnDeinitialize ()
 Called during Unity OnDestroy More...
 
virtual void OnInitialize ()
 Called during Unity Awake. More...
 
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...
 
virtual void OnUpdate ()
 Called during Unity Update More...
 

Properties

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

The base class for all Quantum graph profilers.

Template Parameters
TGraphType of graph QuantumGraphSeries
Type Constraints
TGraph :QuantumGraphSeries 

Member Function Documentation

◆ ToggleVisibility()

void Quantum.Profiling.QuantumGraphProfiler< TGraph >.ToggleVisibility ( )
inline

Toggle the visibility of the profiler.

◆ OnInitialize()

virtual void Quantum.Profiling.QuantumGraphProfiler< TGraph >.OnInitialize ( )
inlineprotectedvirtual

Called during Unity Awake.

Reimplemented in Quantum.Profiling.QuantumGraphProfilerMarkers.

◆ OnDeinitialize()

virtual void Quantum.Profiling.QuantumGraphProfiler< TGraph >.OnDeinitialize ( )
inlineprotectedvirtual

Called during Unity OnDestroy

Reimplemented in Quantum.Profiling.QuantumGraphProfilerMarkers.

◆ OnActivated()

virtual void Quantum.Profiling.QuantumGraphProfiler< TGraph >.OnActivated ( )
inlineprotectedvirtual

◆ OnDeactivated()

virtual void Quantum.Profiling.QuantumGraphProfiler< TGraph >.OnDeactivated ( )
inlineprotectedvirtual

Called when disabled SetState(bool)

Reimplemented in Quantum.Profiling.QuantumGraphProfilerMarkers, and Quantum.Profiling.QuantumGraphProfilerGC.

◆ OnUpdate()

virtual void Quantum.Profiling.QuantumGraphProfiler< TGraph >.OnUpdate ( )
inlineprotectedvirtual

◆ OnRestore()

virtual void Quantum.Profiling.QuantumGraphProfiler< TGraph >.OnRestore ( )
inlineprotectedvirtual

Called when the profiler is enabled or disabled.

◆ OnTargetFPSChanged()

virtual void Quantum.Profiling.QuantumGraphProfiler< TGraph >.OnTargetFPSChanged ( int  fps)
inlineprotectedvirtual

Property Documentation

◆ Graph

TGraph Quantum.Profiling.QuantumGraphProfiler< TGraph >.Graph
getprotected

The graph object.

◆ Values

float [] Quantum.Profiling.QuantumGraphProfiler< TGraph >.Values
getprotected

Recorded values.

◆ IsActive

bool Quantum.Profiling.QuantumGraphProfiler< TGraph >.IsActive
getprotected

Is the profiler active and visible.