UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TextBinding.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 "
UObject/ScriptMacros.h
"
8
#include "
Binding/PropertyBinding.h
"
9
#include "TextBinding.generated.h"
10
11
UCLASS
(MinimalAPI)
12
class
UTextBinding
:
public
UPropertyBinding
13
{
14
GENERATED_BODY
()
15
16
public
:
17
18
UMG_API
virtual
bool
IsSupportedSource(
FProperty
*
Property
)
const override
;
19
UMG_API
virtual
bool
IsSupportedDestination(
FProperty
*
Property
)
const override
;
20
21
UMG_API
virtual
void
Bind(
FProperty
*
Property
,
FScriptDelegate
* Delegate)
override
;
22
23
UFUNCTION
()
24
UMG_API
FText
GetTextValue()
const
;
25
26
UFUNCTION
()
27
UMG_API
FString GetStringValue()
const
;
28
29
private
:
30
31
enum class
EConversion :
uint8
32
{
33
None
,
34
String
,
35
Words,
36
Integer
,
37
Float
38
};
39
40
mutable
TOptional<EConversion>
NeedsConversion;
41
};
EAudioParameterType::String
@ String
EBTBranchAction::None
@ None
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EAIParamType::Float
@ Float
EMetalPartitionMode::Integer
@ Integer
ObjectMacros.h
GENERATED_BODY
#define GENERATED_BODY(...)
Definition
ObjectMacros.h:765
UFUNCTION
#define UFUNCTION(...)
Definition
ObjectMacros.h:745
UCLASS
#define UCLASS(...)
Definition
ObjectMacros.h:776
PropertyBinding.h
EPropertyTagSerializeType::Property
@ Property
ScriptMacros.h
uint8
uint8_t uint8
Definition
binka_ue_file_header.h:8
FProperty
Definition
UnrealType.h:174
FText
Definition
Text.h:385
TScriptDelegate
Definition
ScriptDelegates.h:66
UPropertyBinding
Definition
PropertyBinding.h:18
UTextBinding
Definition
TextBinding.h:13
TOptional
Definition
Optional.h:131
Engine
Source
Runtime
UMG
Public
Binding
TextBinding.h
Generated by
1.9.8