unreal.LocalizedOverlays

class unreal.LocalizedOverlays(outer=None, name='None')

Bases: unreal.Overlays

Implements an asset that contains a set of Basic Overlays that will be displayed in accordance with the current locale, or a default set if an appropriate locale is not found

C++ Source:

  • Module: Overlay

  • File: LocalizedOverlays.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_import_data (AssetImportData): [Read-Only] Asset Import Data: The import data used to make this overlays asset

  • default_overlays (BasicOverlays): [Read-Write] Default Overlays: The overlays to use if no overlays are found for the current culture

  • locale_to_overlays_map (Map(str, BasicOverlays)): [Read-Write] Locale to Overlays Map: Maps a set of cultures to specific BasicOverlays assets. Cultures are comprised of three hyphen-separated parts:

    A two-letter ISO 639-1 language code (e.g., “zh”) An optional four-letter ISO 15924 script code (e.g., “Hans”) An optional two-letter ISO 3166-1 country code (e.g., “CN”)