Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UViewportStatsSubsystem
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/ViewportStatsSubsystem.h |
Include | #include "Engine/ViewportStatsSubsystem.h" |
Source | /Engine/Source/Runtime/Engine/Private/Engine/ViewportStatsSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Viewport Stats Subsystem",
Meta=(AutoCreateRefTerm="DisplayOffset"))
void AddTimedDisplay
(
FText Text,
FLinearColor Color,
float Duration,
const FVector2D & DisplayOffset
)
Remarks
Add a message to be displayed on the viewport of this world
Parameters
Name | Description |
---|---|
Text | The text to be displayed |
Color | Color of the text to be displayed |
Duration | How long the text will be on screen, if 0 then it will stay indefinitely |
DisplayOffset | A position offset that the message should use when displayed. |