Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/DebugTextInfo.h |
Include |
#include "GameFramework/DebugTextInfo.h" |
struct FDebugTextInfo
Single entry of a debug text item to render.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bAbsoluteLocation |
Whether the offset should be treated as absolute world location of the string |
|
uint32: 1 |
bDrawShadow |
Whether to draw a shadow for the text |
|
uint32: 1 |
bKeepAttachedToActor |
If the actor moves does the text also move with it? |
|
DebugText |
Text to display |
|
|
float |
Duration |
Duration used to lerp desired offset |
|
TObjectPtr< UFo... |
Font |
The Font which to display this as. Will Default to GetSmallFont() |
|
float |
FontScale |
Scale to apply to font when rendering |
|
FVector |
OrigActorLocation |
When we first spawn store off the original actor location for use with bKeepAttachedToActor |
|
TObjectPtr< AAc... |
SrcActor |
AActor related to text item |
|
FVector |
SrcActorDesiredOffset |
Desired offset to interpolate to |
|
FVector |
SrcActorOffset |
Offset from SrcActor.Location to apply |
|
TextColor |
Text color |
|
|
float |
TimeRemaining |
Time remaining for the debug text, -1.f == infinite |
Name | Description | |
---|---|---|
|
FDebugTextInfo() |
AHud
AddDebugText()
RemoveDebugText() and DrawDebugTextList()