UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DebugTextInfo.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "DebugTextInfo.generated.h"
8
9class AActor;
10class UFont;
11
12/*
13 * Single entry of a debug text item to render.
14 *
15 * @see AHud
16 * @see AddDebugText(), RemoveDebugText() and DrawDebugTextList()
17 */
18USTRUCT()
20{
22
23
24 UPROPERTY()
25 TObjectPtr<AActor> SrcActor;
26
28 UPROPERTY()
29 FVector SrcActorOffset;
30
32 UPROPERTY()
33 FVector SrcActorDesiredOffset;
34
36 UPROPERTY()
37 FString DebugText;
38
41 float TimeRemaining;
42
44 UPROPERTY()
45 float Duration;
46
48 UPROPERTY()
49 FColor TextColor;
50
52 UPROPERTY()
53 uint32 bAbsoluteLocation:1;
54
56 UPROPERTY()
57 uint32 bKeepAttachedToActor:1;
58
60 UPROPERTY()
61 uint32 bDrawShadow:1;
62
64 UPROPERTY()
65 FVector OrigActorLocation;
66
68 UPROPERTY()
70
72 UPROPERTY()
73 float FontScale;
74
76 : SrcActor(NULL)
77 , SrcActorOffset(ForceInit)
78 , SrcActorDesiredOffset(ForceInit)
79 , TimeRemaining(0)
80 , Duration(0)
81 , TextColor(ForceInit)
82 , bAbsoluteLocation(false)
83 , bKeepAttachedToActor(false)
84 , bDrawShadow(false)
85 , OrigActorLocation(ForceInit)
86 , Font(NULL)
87 , FontScale(1.0f)
88 {
89 }
90
91};
#define NULL
Definition oodle2base.h:134
@ ForceInit
Definition CoreMiscDefines.h:155
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Actor.h:257
Definition Font.h:111
@ false
Definition radaudio_common.h:23
Definition Color.h:486
Definition DebugTextInfo.h:20
Definition ObjectPtr.h:488