UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDebugTextInfo Struct Reference

#include <DebugTextInfo.h>

Public Member Functions

 FDebugTextInfo ()
 

Public Attributes

TObjectPtr< AActorSrcActor
 
FVector SrcActorOffset
 
FVector SrcActorDesiredOffset
 
FString DebugText
 
float TimeRemaining
 
float Duration
 
FColor TextColor
 
uint32 bAbsoluteLocation:1
 
uint32 bKeepAttachedToActor:1
 
uint32 bDrawShadow:1
 
FVector OrigActorLocation
 
TObjectPtr< UFontFont
 
float FontScale
 

Constructor & Destructor Documentation

◆ FDebugTextInfo()

FDebugTextInfo::FDebugTextInfo ( )
inline

Member Data Documentation

◆ bAbsoluteLocation

uint32 FDebugTextInfo::bAbsoluteLocation

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

◆ bDrawShadow

uint32 FDebugTextInfo::bDrawShadow

Whether to draw a shadow for the text

◆ bKeepAttachedToActor

uint32 FDebugTextInfo::bKeepAttachedToActor

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

◆ DebugText

FString FDebugTextInfo::DebugText

Text to display

◆ Duration

float FDebugTextInfo::Duration

Duration used to lerp desired offset

◆ Font

TObjectPtr<UFont> FDebugTextInfo::Font

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

◆ FontScale

float FDebugTextInfo::FontScale

Scale to apply to font when rendering

◆ OrigActorLocation

FVector FDebugTextInfo::OrigActorLocation

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

◆ SrcActor

TObjectPtr<AActor> FDebugTextInfo::SrcActor

AActor related to text item

◆ SrcActorDesiredOffset

FVector FDebugTextInfo::SrcActorDesiredOffset

Desired offset to interpolate to

◆ SrcActorOffset

FVector FDebugTextInfo::SrcActorOffset

Offset from SrcActor.Location to apply

◆ TextColor

FColor FDebugTextInfo::TextColor

Text color

◆ TimeRemaining

float FDebugTextInfo::TimeRemaining

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


The documentation for this struct was generated from the following file: