Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UViewportStatsSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddDisplayDelegate
(
FViewportDisplayCallback const& Delegate |
Add a dynamic delegate to the display subsystem. | Engine/ViewportStatsSubsystem.h |
|
int32 AddDisplayDelegate
(
FShouldDisplayFunc&& Callback |
Add a callback function to the display subsystem. | Engine/ViewportStatsSubsystem.h |
AddDisplayDelegate(FViewportDisplayCallback const &)
Description
Add a dynamic delegate to the display subsystem.
| Name | AddDisplayDelegate |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/ViewportStatsSubsystem.h |
| Include Path | #include "Engine/ViewportStatsSubsystem.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Engine/ViewportStatsSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Viewport Stats Subsystem")
int32 AddDisplayDelegate
(
FViewportDisplayCallback const & Delegate
)
Parameters
| Name | Remarks |
|---|---|
| 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) |
AddDisplayDelegate(FShouldDisplayFunc &&)
Description
Add a callback function to the display subsystem.
| Name | AddDisplayDelegate |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/ViewportStatsSubsystem.h |
| Include Path | #include "Engine/ViewportStatsSubsystem.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Engine/ViewportStatsSubsystem.cpp |
int32 AddDisplayDelegate
(
FShouldDisplayFunc && Callback
)
Parameters
| Name | Remarks |
|---|---|
| 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) |