Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UKismetTextLibrary |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetTextLibrary.h |
| Include Path | #include "Kismet/KismetTextLibrary.h" |
Syntax
UCLASS (Meta=(BlueprintThreadSafe, ScriptName="TextLibrary"), MinimalAPI)
class UKismetTextLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UKismetTextLibrary
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UKismetTextLibrary
(
const FObjectInitializer& ObjectInitializer |
Kismet/KismetTextLibrary.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FText AsCurrency_Float
(
float Value, |
Default values are duplicated from FNumberFormattingOptions and should be replicated in all functions and in the struct when changed! | Kismet/KismetTextLibrary.h |
|
static FText AsCurrency_Integer
(
int32 Value, |
Default values are duplicated from FNumberFormattingOptions and should be replicated in all functions and in the struct when changed! | Kismet/KismetTextLibrary.h |
|
static FText AsCurrencyBase
(
int32 BaseValue, |
Generate an FText that represents the passed number as currency in the current culture. | Kismet/KismetTextLibrary.h |
|
static FText AsDate_DateTime
(
const FDateTime& InDateTime, |
Converts a passed in date & time to a text, formatted as a date using an invariant timezone. | Kismet/KismetTextLibrary.h |
|
static FText AsDateTime_DateTime
(
const FDateTime& In, |
Converts a passed in date & time to a text, formatted as a date & time using an invariant timezone. | Kismet/KismetTextLibrary.h |
|
static FText AsMemory
(
int64 NumBytes, |
Generate an FText that represents the passed number as a memory size in the current culture | Kismet/KismetTextLibrary.h |
|
static FText AsPercent_Float
(
float Value, |
Default values are duplicated from FNumberFormattingOptions and should be replicated in all functions and in the struct when changed! | Kismet/KismetTextLibrary.h |
|
static FText AsTime_DateTime
(
const FDateTime& In, |
Converts a passed in date & time to a text, formatted as a time using an invariant timezone. | Kismet/KismetTextLibrary.h |
|
| Converts a passed in time span to a text, formatted as a time span | Kismet/KismetTextLibrary.h |
|
|
static FText AsTimeZoneDate_DateTime
(
const FDateTime& InDateTime, |
Converts a passed in date & time to a text, formatted as a date using the given timezone (default is the local timezone). | Kismet/KismetTextLibrary.h |
|
static FText AsTimeZoneDateTime_DateTime
(
const FDateTime& InDateTime, |
Converts a passed in date & time to a text, formatted as a date & time using the given timezone (default is the local timezone). | Kismet/KismetTextLibrary.h |
|
static FText AsTimeZoneTime_DateTime
(
const FDateTime& InDateTime, |
Converts a passed in date & time to a text, formatted as a time using the given timezone (default is the local timezone). | Kismet/KismetTextLibrary.h |
|
static FText Conv_BoolToText
(
bool InBool |
Converts a boolean value to formatted text, either 'true' or 'false' | Kismet/KismetTextLibrary.h |
|
static FText Conv_ByteToText
(
uint8 Value |
Converts a byte value to formatted text | Kismet/KismetTextLibrary.h |
|
static FText Conv_ColorToText
(
FLinearColor InColor |
Converts a linear color value to localized formatted text, in the form '(R=,G=,B=,A=)' | Kismet/KismetTextLibrary.h |
|
static FText Conv_DoubleToText
(
double Value, |
Converts a passed in double to text based on formatting options | Kismet/KismetTextLibrary.h |
|
static FText Conv_Int64ToText
(
int64 Value, |
Converts a passed in integer to text based on formatting options | Kismet/KismetTextLibrary.h |
|
static FText Conv_IntToText
(
int32 Value, |
Default values are duplicated from FNumberFormattingOptions and should be replicated in all functions and in the struct when changed! | Kismet/KismetTextLibrary.h |
|
| Converts Name to culture invariant text | Kismet/KismetTextLibrary.h |
|
|
static FText Conv_NumericPropertyToText
(
const int32& Value |
Converts a generic value to localized formatted text using the user culture. | Kismet/KismetTextLibrary.h |
|
| Converts a UObject value to culture invariant text by calling the object's GetName method | Kismet/KismetTextLibrary.h |
|
|
static FText Conv_RotatorToText
(
FRotator InRot |
Converts a rotator value to localized formatted text, in the form 'P= Y= R=' | Kismet/KismetTextLibrary.h |
|
static FText Conv_StringToText
(
const FString& InString |
Converts string to culture invariant text. | Kismet/KismetTextLibrary.h |
|
| Converts localizable text to the string | Kismet/KismetTextLibrary.h |
|
|
static FText Conv_TransformToText
(
const FTransform& InTrans |
Converts a transform value to localized formatted text, in the form 'Translation: X= Y= Z= Rotation: P= Y= R= Scale: X= Y= Z=' | Kismet/KismetTextLibrary.h |
|
static FText Conv_Vector2dToText
(
FVector2D InVec |
Converts a vector2d value to localized formatted text, in the form 'X= Y=' | Kismet/KismetTextLibrary.h |
|
static FText Conv_VectorToText
(
FVector InVec |
Converts a vector value to localized formatted text, in the form 'X= Y= Z=' | Kismet/KismetTextLibrary.h |
|
static bool EditTextPropertySourceString
(
UObject* TextOwner, |
Edit the source string of the given text property, akin to what happens when editing a text property in a details panel. | Kismet/KismetTextLibrary.h |
|
static bool EditTextSourceString
(
UObject* TextOwner, |
Edit the source string of the given text property, akin to what happens when editing a text property in a details panel. | Kismet/KismetTextLibrary.h |
|
| Returns true if A and B are linguistically equal (A == B), ignoring case. | Kismet/KismetTextLibrary.h |
|
|
| Returns true if A and B are linguistically equal (A == B). | Kismet/KismetTextLibrary.h |
|
|
static bool FindTextInLocalizationTable
(
const FString& Namespace, |
=== !! This is an ADVANCED function. | Kismet/KismetTextLibrary.h |
|
static FText Format
(
FText InPattern, |
Used for formatting text using the FText::Format function and utilized by the UK2Node_FormatText | Kismet/KismetTextLibrary.h |
|
static bool Generic_EditTextPropertySourceString
(
UObject* TextOwner, |
Kismet/KismetTextLibrary.h |
|
|
static FText GetEmptyText() |
Returns an empty piece of text. | Kismet/KismetTextLibrary.h |
|
| Attempts to get the ID (namespace and key) used by the given text. | Kismet/KismetTextLibrary.h |
|
|
static FString GetTextSourceString
(
FText Text |
Get the (non-localized) source string of the given text. | Kismet/KismetTextLibrary.h |
|
static void IsPolyglotDataValid
(
const FPolyglotTextData& PolyglotData, |
Check whether the given polyglot data is valid. | Kismet/KismetTextLibrary.h |
|
static FText MakeInvariantText
(
const FString& InString |
Converts string to culture invariant text. | Kismet/KismetTextLibrary.h |
|
| Returns true if A and B are linguistically not equal (A != B), ignoring case. | Kismet/KismetTextLibrary.h |
|
|
| Returns true if A and B are linguistically not equal (A != B). | Kismet/KismetTextLibrary.h |
|
|
static FText PolyglotDataToText
(
const FPolyglotTextData& PolyglotData |
Get the text instance created from this polyglot data. | Kismet/KismetTextLibrary.h |
|
| Attempts to get the String Table ID and key used by the given text. | Kismet/KismetTextLibrary.h |
|
|
static FText TextFromStringTable
(
const FName TableId, |
Attempts to create a text instance from a string table ID and key. | Kismet/KismetTextLibrary.h |
|
static bool TextIsCultureInvariant
(
const FText& InText |
Returns true if text is culture invariant. | Kismet/KismetTextLibrary.h |
|
static bool TextIsEmpty
(
const FText& InText |
Returns true if text is empty. | Kismet/KismetTextLibrary.h |
|
static bool TextIsFromStringTable
(
const FText& Text |
Returns true if the given text is referencing a string table. | Kismet/KismetTextLibrary.h |
|
static bool TextIsTransient
(
const FText& InText |
Returns true if text is transient. | Kismet/KismetTextLibrary.h |
|
static FText TextToLower
(
const FText& InText |
Transforms the text to lowercase in a culture correct way. | Kismet/KismetTextLibrary.h |
|
static FText TextToUpper
(
const FText& InText |
Transforms the text to uppercase in a culture correct way. | Kismet/KismetTextLibrary.h |
|
| Removes whitespace characters from the front of the text. | Kismet/KismetTextLibrary.h |
|
|
| Removes whitespace characters from the front and end of the text. | Kismet/KismetTextLibrary.h |
|
|
| Removes trailing whitespace characters. | Kismet/KismetTextLibrary.h |
|