unreal.DeprecatedDataLayerInstance

class unreal.DeprecatedDataLayerInstance(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: DataLayerInstance

Class used for Runtime Conversion of the Deprecated UDataLayer Class to UDataLayerInstance + UDataLayerAsset. This class is not to be inherited. It is solely used by AWorldDatalayers to convert UDataLayers to UDataLayerInstances on Level Boot. You will need to run the DataLayerToAsset CommandLet to convert the deprecated datalayers to UDataLayerAssets and UDataLayerInstanceWithAsset.

C++ Source:

  • Module: Engine

  • File: DeprecatedDataLayerInstance.h

Editor Properties: (see get_editor_property/set_editor_property)

  • data_layer_type (DataLayerType): [Read-Write] Data Layer Type

  • debug_color (Color): [Read-Write] Debug Color

  • initial_runtime_state (DataLayerRuntimeState): [Read-Write] Initial Runtime State

  • is_initially_loaded_in_editor (bool): [Read-Write] Is Initially Loaded in Editor: Determines the default value of the data layer’s loaded state in editor if it hasn’t been changed in data layer outliner by the user

  • is_initially_visible (bool): [Read-Write] Is Initially Visible: Whether actors associated with the Data Layer should be initially visible in the viewport when loading the map