UEngine::AddOnScreenDebugMessage

Add a [FString](API\Runtime\Core\Containers\FString) to the On-screen debug message system.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h

Include

#include "Engine/Engine.h"

Source

/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp

Syntax

void AddOnScreenDebugMessage
(
    int32 Key,
    float TimeToDisplay,
    FColor DisplayColor,
    const FString & DebugMessage,
    bool bNewerOnTop,
    const FVector2D & TextScale
)

Remarks

Add a FString to the On-screen debug message system. bNewerOnTop only works with Key == INDEX_NONE

Wrapper from int32 to uint64

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