Navigation
Unreal Engine C++ API Reference > Developer > ProfileVisualizer
References
Module | ProfileVisualizer |
Header | /Engine/Source/Developer/ProfileVisualizer/Public/VisualizerEvents.h |
Include | #include "VisualizerEvents.h" |
Syntax
struct FVisualizerEvent
Remarks
A graph event represented by SGraphBar as a single bar.
Variables
Type | Name | Description |
---|---|---|
int32 | Category | Category this event belongs to (thread/file etc.) |
TArray< TShared... | Children | Child events |
uint32 | ColorIndex | Bar color |
double | Duration | Normalized duration time (0.0-1.0) of the event. |
double | DurationMs | Duration of the event in milliseconds |
FString | EventName | Name of the event. |
bool | IsSelected | Determines if this event is selected or not. |
TSharedPtr< FVi... | ParentEvent | Parent event |
double | Start | Normalized start time (0.0-1.0) of the event relative to the first event in the profile |
Constructors
Type | Name | Description |
---|---|---|
FVisualizerEvent ( const double InStart, const double InDuration, const double InDurationMs, const int32 InCategory, const FString& InEventName ) |
Functions
Type | Name | Description |
---|---|---|
TSharedPtr< ... | LoadVisualizerEvent ( FArchive* Ar ) | |
void | SaveVisualizerEventRecursively ( FArchive* Ar, TSharedPtr< FVisualizerEvent > Visu... ) |