unreal.DataLayerInstance

class unreal.DataLayerInstance(outer: Optional[Object] = None, name: Union[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

  • 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

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_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_visible() bool

Is Visible

Return type:

bool