unreal.DataLayerInstance

class unreal.DataLayerInstance(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Data Layer Instance

C++ Source:

  • Module: Engine

  • File: DataLayerInstance.h

Editor Properties: (see get_editor_property/set_editor_property)

  • initial_runtime_state (DataLayerRuntimeState): [Read-Write] Initial runtime state of this data layer instance. Only supported if it’s runtime and not client/server only.

  • is_initially_loaded_in_editor (bool): [Read-Write] 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] Whether actors associated with the Data Layer should be initially visible in the viewport when loading the map

get_asset() DataLayerAsset

Get Asset

Return type:

DataLayerAsset

get_data_layer_full_name() str

Get Data Layer Full Name

Return type:

str

get_data_layer_short_name() str

Get Data Layer Short Name

Return type:

str

get_debug_color() Color

Get Debug Color

Return type:

Color

get_initial_runtime_state() DataLayerRuntimeState

Get Initial Runtime State

Return type:

DataLayerRuntimeState

get_type() DataLayerType

Get Type

Return type:

DataLayerType

is_client_only() bool

Is Client Only

Return type:

bool

is_effective_visible() bool

Is Effective Visible

Return type:

bool

is_initially_visible() bool

Is Initially Visible

Return type:

bool

is_runtime() bool

Is Runtime

Return type:

bool

is_server_only() bool

Is Server Only

Return type:

bool

is_visible() bool

Is Visible

Return type:

bool