UViewportStatsSubsystem::AddTimedDisplay

Add a message to be displayed on the viewport of this world

Windows
MacOS
Linux

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

Syntax

void AddTimedDisplay
(
    FText Text,
    FLinearColor Color,
    float Duration
)

Remarks

Add a message to be displayed on the viewport of this world

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss