Language:
Discover
By Skill Level
By Category

FDebugTextInfo

Choose your OS:

Syntax

struct FDebugTextInfo

Remarks

Single entry of a debug text item to render.

Variables

Name Description

Public variable

uint32 : 1

 

bAbsoluteLocation

Whether the offset should be treated as absolute world location of the string

Public variable

uint32 : 1

 

bDrawShadow

Whether to draw a shadow for the text

Public variable

uint32 : 1

 

bKeepAttachedToActor

If the actor moves does the text also move with it?

Public variable

FString

 

DebugText

Text to display

Public variable

float

 

Duration

Duration used to lerp desired offset

Public variable

UFont *

 

Font

The Font which to display this as. Will Default to GetSmallFont()

Public variable

float

 

FontScale

Scale to apply to font when rendering

Public variable

FVector

 

OrigActorLocation

When we first spawn store off the original actor location for use with bKeepAttachedToActor

Public variable

AActor *

 

SrcActor

AActor related to text item

Public variable

FVector

 

SrcActorDesiredOffset

Desired offset to interpolate to

Public variable

FVector

 

SrcActorOffset

Offset from SrcActor.Location to apply

Public variable

FColor

 

TextColor

Text color

Public variable

float

 

TimeRemaining

Time remaining for the debug text, -1.f == infinite

Constructors

Name Description

Public function

FDebugTextInfo()

See Also

AHud

AddDebugText()

RemoveDebugText() and DrawDebugTextList()

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/DebugTextInfo.h