UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
KismetTextLibrary.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/TextProperty.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "Internationalization/PolyglotTextData.h"
#include "KismetTextLibrary.generated.h"

Go to the source code of this file.

Classes

struct  FFormatArgumentData
 
class  UKismetTextLibrary
 

Namespaces

namespace  EDateTimeStyle
 
namespace  EFormatArgumentType
 

Enumerations

enum  ERoundingMode : int {
  HalfToEven , HalfFromZero , HalfToZero , FromZero ,
  ToZero , ToNegativeInfinity , ToPositiveInfinity
}
 
enum  EMemoryUnitStandard : int { IEC , SI }
 
enum class  ETextGender : uint8 {
  Masculine , Feminine , Neuter , Masculine ,
  Feminine , Neuter
}
 
enum  EDateTimeStyle::Type : int {
  EDateTimeStyle::Default , EDateTimeStyle::Short , EDateTimeStyle::Medium , EDateTimeStyle::Long ,
  EDateTimeStyle::Full , EDateTimeStyle::Custom , EDateTimeStyle::Default , EDateTimeStyle::Short ,
  EDateTimeStyle::Medium , EDateTimeStyle::Long , EDateTimeStyle::Full , EDateTimeStyle::UMETA =(Hidden)
}
 
enum  EFormatArgumentType::Type : int {
  EFormatArgumentType::Int , EFormatArgumentType::UInt , EFormatArgumentType::Float , EFormatArgumentType::Double ,
  EFormatArgumentType::Text , EFormatArgumentType::Gender , EFormatArgumentType::Int , EFormatArgumentType::UInt ,
  EFormatArgumentType::Float , EFormatArgumentType::Double , EFormatArgumentType::Text , EFormatArgumentType::Gender
}
 

Enumeration Type Documentation

◆ EMemoryUnitStandard

Enumerator
IEC 
SI 

◆ ERoundingMode

This code is only used for meta-data extraction and the main declaration is with FText, be sure to update there as well Provides rounding modes for converting numbers into localized text

Enumerator
HalfToEven 

Rounds to the nearest place, equidistant ties go to the value which is closest to an even value: 1.5 becomes 2, 0.5 becomes 0

HalfFromZero 

Rounds to nearest place, equidistant ties go to the value which is further from zero: -0.5 becomes -1.0, 0.5 becomes 1.0

HalfToZero 

Rounds to nearest place, equidistant ties go to the value which is closer to zero: -0.5 becomes 0, 0.5 becomes 0.

FromZero 

Rounds to the value which is further from zero, "larger" in absolute value: 0.1 becomes 1, -0.1 becomes -1

ToZero 

Rounds to the value which is closer to zero, "smaller" in absolute value: 0.1 becomes 0, -0.1 becomes 0

ToNegativeInfinity 

Rounds to the value which is more negative: 0.1 becomes 0, -0.1 becomes -1

ToPositiveInfinity 

Rounds to the value which is more positive: 0.1 becomes 1, -0.1 becomes 0

◆ ETextGender

enum class ETextGender : uint8
strong
Enumerator
Masculine 
Feminine 
Neuter 
Masculine 
Feminine 
Neuter