Navigation
API > API/Plugins > API/Plugins/GameplayCameras
A debug graph, showing one or more lines. The lines progress as new timestamped values are added to the graph, with older values being discarded when they go past the maximum history time of the grpah.
| Name | TCameraDebugGraph |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Debug/CameraDebugGraph.h |
| Include Path | #include "Debug/CameraDebugGraph.h" |
| Source | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Debug/CameraDebugRenderer.h |
Syntax
template<uint8>
class TCameraDebugGraph
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCameraDebugGraph() |
Creates a new debug graph. | Debug/CameraDebugGraph.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FGraphEntry | TCameraDebugGraphEntry< NumValues > | Debug/CameraDebugGraph.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentMaxValue | float | Debug/CameraDebugGraph.h | ||
| CurrentMinValue | float | Debug/CameraDebugGraph.h | ||
| Entries | TArray< FGraphEntry > | Debug/CameraDebugGraph.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
float InDeltaTime, |
Adds a new entry to the graph, timestamped relative to the last added entry. | Debug/CameraDebugGraph.h | |
void Draw
(
FCanvas* InCanvas, |
Draw this debug graph to the given canvas. | Debug/CameraDebugGraph.h | |
void Serialize
(
FArchive& Ar |
Debug/CameraDebugGraph.h |