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
"
6
#include "
UObject/ObjectMacros.h
"
7
#include "DebugTextInfo.generated.h"
8
9
class
AActor
;
10
class
UFont
;
11
12
/*
13
* Single entry of a debug text item to render.
14
*
15
* @see AHud
16
* @see AddDebugText(), RemoveDebugText() and DrawDebugTextList()
17
*/
18
USTRUCT
()
19
struct
FDebugTextInfo
20
{
21
GENERATED_USTRUCT_BODY
()
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
40
UPROPERTY
(
transient
)
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
()
69
TObjectPtr
<
UFont
>
Font
;
70
72
UPROPERTY
()
73
float
FontScale;
74
75
FDebugTextInfo
()
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
};
NULL
#define NULL
Definition
oodle2base.h:134
EMontagePlayReturnType::Duration
@ Duration
CoreMinimal.h
ForceInit
@ ForceInit
Definition
CoreMiscDefines.h:155
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EMaterialParameterType::Font
@ Font
ObjectMacros.h
UPROPERTY
#define UPROPERTY(...)
UObject definition macros.
Definition
ObjectMacros.h:744
USTRUCT
#define USTRUCT(...)
Definition
ObjectMacros.h:746
GENERATED_USTRUCT_BODY
#define GENERATED_USTRUCT_BODY(...)
Definition
ObjectMacros.h:767
uint32
uint32_t uint32
Definition
binka_ue_file_header.h:6
AActor
Definition
Actor.h:257
UFont
Definition
Font.h:111
false
@ false
Definition
radaudio_common.h:23
FColor
Definition
Color.h:486
FDebugTextInfo
Definition
DebugTextInfo.h:20
TObjectPtr
Definition
ObjectPtr.h:488
UE::Math::TVector< double >
Engine
Source
Runtime
Engine
Classes
GameFramework
DebugTextInfo.h
Generated by
1.9.8