Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEngine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddOnScreenDebugMessage
(
uint64 Key, |
Add a FString to the On-screen debug message system. | Engine/Engine.h | |
void AddOnScreenDebugMessage
(
int32 Key, |
Add a FString to the On-screen debug message system. | Engine/Engine.h |
AddOnScreenDebugMessage(uint64, float, FColor, const FString &, bool, const FVector2D &)
Description
Add a FString to the On-screen debug message system. bNewerOnTop only works with Key == INDEX_NONE
This function will add a debug message to the onscreen message list. It will be displayed for FrameCount frames.
| Name | AddOnScreenDebugMessage |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
void AddOnScreenDebugMessage
(
uint64 Key,
float TimeToDisplay,
FColor DisplayColor,
const FString & DebugMessage,
bool bNewerOnTop,
const FVector2D & TextScale
)
Parameters
| Name | Remarks |
|---|---|
| Key | A unique key to prevent the same message from being added multiple times. |
| TimeToDisplay | How long to display the message, in seconds. |
| DisplayColor | The color to display the text in. |
| DebugMessage | The message to display. |
AddOnScreenDebugMessage(int32, float, FColor, const FString &, bool, const FVector2D &)
Description
Add a FString to the On-screen debug message system. bNewerOnTop only works with Key == INDEX_NONE
Wrapper from int32 to uint64
| Name | AddOnScreenDebugMessage |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
void AddOnScreenDebugMessage
(
int32 Key,
float TimeToDisplay,
FColor DisplayColor,
const FString & DebugMessage,
bool bNewerOnTop,
const FVector2D & TextScale
)