A graph series is the base class to render graphs in Unity. More...
Public Member Functions | |
void | Initialize () |
void | Restore () |
virtual void | SetValues (float[] values, int offset, int samples) |
Set the values to render More... | |
Public Attributes | |
int | Samples => _samples |
Returns the number of samples that can be displayed. More... | |
Protected Member Functions | |
virtual void | OnInitialize () |
virtual void | OnRestore () |
Protected Attributes | |
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... | |
A graph series is the base class to render graphs in Unity.
|
inlinevirtual |
Set the values to render
values | Values array |
offset | Offset to start reading values from the array |
samples | Number of samples to display |
Reimplemented in Quantum.Profiling.QuantumGraphSeriesValue.
int Quantum.Profiling.QuantumGraphSeries.Samples => _samples |
Returns the number of samples that can be displayed.
|
protected |
The target image to render the graphs in.
|
protected |
The number of samples that are displayed.
|
protected |
The values to render.
|
protected |
The material to render the graph.
|
protected |
Cache shared property.