Navigation
API > API/Plugins > API/Plugins/PixelStreaming2RTC > API/Plugins/PixelStreaming2RTC/IPixelStreaming2Stats
Description
Graphs a value in a real-time plot that is visible when `stat PixelStreaming2Graphs_ is used. If a graph of this name has not been graphed before this will also create the graph internally.
| Name | GraphValue |
| Type | function |
| Header File | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2RTC/Public/IPixelStreaming2Stats.h |
| Include Path | #include "IPixelStreaming2Stats.h" |
void GraphValue
(
FName InName,
float Value,
int InSamples,
float InMinRange,
float InMaxRange,
float InRefValue
)
Parameters
| Name | Remarks |
|---|---|
| InName | The name of the stat to graph, this is used in the graph title and must be unique. |
| InSamples | The number of samples (along the x-axis) we wish to graph. |
| InMinRange | The minimum value we expect for this value we are graphing. |
| InMaxRange | The maximum value we expect for this value we are graphing. |
| InRefValue | A reference value that we draw in the graph as a horizontal line, this can be useful to see if we are within some threshold. |