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"
9#include "TextBinding.generated.h"
10
11UCLASS(MinimalAPI)
13{
15
16public:
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
29private:
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};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition UnrealType.h:174
Definition Text.h:385
Definition ScriptDelegates.h:66
Definition PropertyBinding.h:18
Definition TextBinding.h:13
Definition Optional.h:131