Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/ViewportStatsSubsystem.h |
Include |
#include "Engine/ViewportStatsSubsystem.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Engine/ViewportStatsSubsystem.cpp |
int32
AddDisplayDelegate
(
FShouldDisplayFunc
&& Callback
)
Add a callback function to the display subsystem.
Parameter |
Description |
---|---|
Callback |
The callback the subsystem will use to determine if a message should be displayed or not Signature of callbacks should be: bool(FText& OutTest, FLinearColor& OutColor) |