unreal.TemplateString

class unreal.TemplateString(template: str = '', resolved: Text = '')

Bases: StructBase

Structure for templated strings that are displayed in the editor with an optional set of valid args.

C++ Source:

  • Module: CoreUObject

  • File: TemplateString.h

Editor Properties: (see get_editor_property/set_editor_property)

  • resolved (Text): [Read-Only] The (localizable) resolved text, used to persist the result. This is especially useful when resolution isn’t always available, or is static (editor vs. runtime, for example)

  • template (str): [Read-Write] The template string.

property resolved: Text

[Read-Only] The (localizable) resolved text, used to persist the result. This is especially useful when resolution isn’t always available, or is static (editor vs. runtime, for example)

Type:

(Text)

property template: str

[Read-Write] The template string.

Type:

(str)