unreal.FormatArgumentData

class unreal.FormatArgumentData(argument_name='', argument_value_type=FormatArgumentType.INT, argument_value='', argument_value_int=0, argument_value_float=0.0, argument_value_gender=TextGender.MASCULINE)

Bases: unreal.StructBase

Used to pass argument/value pairs into FText::Format. The full C++ struct is located here: EngineSourceRuntimeCorePublicInternationalizationText.h

C++ Source:

  • Module: Engine
  • File: KismetTextLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • argument_name (str): [Read-Write] Argument Name
  • argument_value (Text): [Read-Write] Argument Value
  • argument_value_float (float): [Read-Write] Argument Value Float
  • argument_value_gender (TextGender): [Read-Write] Argument Value Gender
  • argument_value_int (int32): [Read-Write] Argument Value Int
  • argument_value_type (FormatArgumentType): [Read-Write] Argument Value Type
argument_name

(str) – [Read-Write] Argument Name

argument_value

(Text) – [Read-Write] Argument Value

argument_value_float

(float) – [Read-Write] Argument Value Float

argument_value_gender

(TextGender) – [Read-Write] Argument Value Gender

argument_value_int

(int32) – [Read-Write] Argument Value Int

argument_value_type

(FormatArgumentType) – [Read-Write] Argument Value Type

text_value

deprecated – ‘text_value’ was renamed to ‘argument_value’.