Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetTextLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetTextLibrary.h |
Include | #include "Kismet/KismetTextLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Private/KismetTextLibrary.cpp |
UFUNCTION (BlueprintPure, Category="Utilities|Text",
DisplayName="Find Text in Live Table (Advanced)",
Meta=(AdvancedDisplay="SourceString", ScriptName="FindTextInLiveTable_Advanced;FindTextInLocalizationTable"))
static bool FindTextInLocalizationTable
(
const FString & Namespace,
const FString & Key,
FText & OutText,
const FString & SourceString
)
Remarks
=== !! This is an ADVANCED function. USE WITH CAUTION !! ===
Attempt to dynamically reference an EXISTING Text via its active display string in the live table. Note: This can ONLY find text that is currently localized (gathered, translated, and has an active display string in TextLocalizationManager). If you need to find a localizable but untranslated text, see 'Make Literal Text'. Note: Direct dynamic references to Text are EXTREMELY FRAGILE, and you may want to use a string table instead!
Parameters
Name | Description |
---|---|
Namespace | The namespace of the text to find (if any). |
Key | The key of the text to find. |
SourceString | If set (not empty) then the found text must also have been created from this source string. |