Photon Quantum 3.0.0

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

A graph series is the base class to render graphs in Unity. More...

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

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...
 

Detailed Description

A graph series is the base class to render graphs in Unity.

Member Function Documentation

◆ SetValues()

virtual void Quantum.Profiling.QuantumGraphSeries.SetValues ( float[]  values,
int  offset,
int  samples 
)
inlinevirtual

Set the values to render

Parameters
valuesValues array
offsetOffset to start reading values from the array
samplesNumber of samples to display

Reimplemented in Quantum.Profiling.QuantumGraphSeriesValue.

Member Data Documentation

◆ Samples

int Quantum.Profiling.QuantumGraphSeries.Samples => _samples

Returns the number of samples that can be displayed.

◆ _targetImage

Image Quantum.Profiling.QuantumGraphSeries._targetImage
protected

The target image to render the graphs in.

◆ _samples

int Quantum.Profiling.QuantumGraphSeries._samples = 300
protected

The number of samples that are displayed.

◆ _values

float [] Quantum.Profiling.QuantumGraphSeries._values
protected

The values to render.

◆ _material

Material Quantum.Profiling.QuantumGraphSeries._material
protected

The material to render the graph.

◆ _valuesShaderPropertyID

int Quantum.Profiling.QuantumGraphSeries._valuesShaderPropertyID
protected

Cache shared property.