unreal.FormatArgumentData

class unreal.FormatArgumentData(argument_name: str = '', argument_value_type: FormatArgumentType = Ellipsis, argument_value: Text = '', argument_value_int: int = 0, argument_value_float: float = 0.0, argument_value_double: float = 0.0, argument_value_gender: TextGender = Ellipsis)

Bases: 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_value (Text): [Read-Write]

  • argument_value_double (double): [Read-Write]

  • argument_value_float (float): [Read-Write]

  • argument_value_gender (TextGender): [Read-Write]

  • argument_value_int (int64): [Read-Write]

  • argument_value_type (FormatArgumentType): [Read-Write]

property argument_name: str

[Read-Write]

Type:

(str)

property argument_value: Text

[Read-Write]

Type:

(Text)

property argument_value_double: float

[Read-Write]

Type:

(double)

property argument_value_float: float

[Read-Write]

Type:

(float)

property argument_value_gender: TextGender

[Read-Write]

Type:

(TextGender)

property argument_value_int: int

[Read-Write]

Type:

(int64)

property argument_value_type: FormatArgumentType

[Read-Write]

Type:

(FormatArgumentType)

property text_value: Text

‘text_value’ was renamed to ‘argument_value’.

Type:

deprecated