unreal.DataLayer

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

Bases: unreal.Object

Data Layer

C++ Source:

  • Module: Engine

  • File: DataLayer.h

Editor Properties: (see get_editor_property/set_editor_property)

  • 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

  • is_runtime (bool): [Read-Write] Is Runtime: Whether the Data Layer affects actor runtime loading

equals(actor_data_layer) bool

Equals

Parameters

actor_data_layer (ActorDataLayer) –

Return type

bool

get_data_layer_label() Name

Get Data Layer Label

Return type

Name

get_debug_color() Color

Get Debug Color

Return type

Color

get_initial_runtime_state() DataLayerRuntimeState

Get Initial Runtime State

Return type

DataLayerRuntimeState

get_initial_state() DataLayerStateType

Get Initial State deprecated: Use GetInitialRuntimeState instead

Return type

DataLayerStateType

is_dynamically_loaded() bool

Is Dynamically Loaded deprecated: Use IsRuntime instead

Return type

bool

is_effective_visible() bool

Is Effective Visible

Return type

bool

is_initially_active() bool

Is Initially Active deprecated: Use GetInitialRuntimeState instead

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