Photon Quantum 3.0.0

Public Member Functions | Protected Member Functions | List of all members
Quantum.Profiling.QuantumGraphSeriesValue Class Reference

The series value graph is used format, average values add graphical features to the graph rendering. More...

Inheritance diagram for Quantum.Profiling.QuantumGraphSeriesValue:
Quantum.Profiling.QuantumGraphSeries

Public Member Functions

void SetColors (Color normalColor, Color averageColor, Color threshold1Color, Color threshold2Color, Color threshold3Color)
 Set colors for the thresholds. More...
 
void SetThresholds (float threshold1, float threshold2, float threshold3)
 Set the thresholds for color changes. More...
 
void SetValues (float[] values, int offset, float minValue, float maxValue, float averageValue)
 Set the values to render More...
 
override void SetValues (float[] values, int offset, int samples)
 Set the values to render
 
- Public Member Functions inherited from Quantum.Profiling.QuantumGraphSeries
void Initialize ()
 
void Restore ()
 

Protected Member Functions

override void OnInitialize ()
 
override void OnRestore ()
 

Additional Inherited Members

- Public Attributes inherited from Quantum.Profiling.QuantumGraphSeries
int Samples => _samples
 Returns the number of samples that can be displayed. More...
 
- Protected Attributes inherited from Quantum.Profiling.QuantumGraphSeries
Material _material
 The material to render the graph. More...
 
int _samples = 300
 The number of samples that are displayed. More...
 
Image _targetImage
 The target image to render the graphs in. More...
 
float[] _values
 The values to render. More...
 
int _valuesShaderPropertyID
 Cache shared property. More...
 

Detailed Description

The series value graph is used format, average values add graphical features to the graph rendering.

Member Function Documentation

◆ SetThresholds()

void Quantum.Profiling.QuantumGraphSeriesValue.SetThresholds ( float  threshold1,
float  threshold2,
float  threshold3 
)
inline

Set the thresholds for color changes.

Parameters
threshold1Threshold one
threshold2Threshold two
threshold3Threshold three

◆ SetColors()

void Quantum.Profiling.QuantumGraphSeriesValue.SetColors ( Color  normalColor,
Color  averageColor,
Color  threshold1Color,
Color  threshold2Color,
Color  threshold3Color 
)
inline

Set colors for the thresholds.

Parameters
normalColorNormal color
averageColorAverage color
threshold1ColorThreshold one color
threshold2ColorThreshold two color
threshold3ColorThreshold three color

◆ SetValues()

void Quantum.Profiling.QuantumGraphSeriesValue.SetValues ( float[]  values,
int  offset,
float  minValue,
float  maxValue,
float  averageValue 
)
inline

Set the values to render

Parameters
valuesValues array
offsetOffset to start reading values from the array
minValueMin value
maxValueMax value
averageValueAverage value