unreal.LevelInstanceInterface

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

Bases: Interface

Level Instance Interface

C++ Source:

  • Module: Engine

  • File: LevelInstanceInterface.h

get_loaded_level() Level

Get Loaded Level

Return type:

Level

get_world_asset() World

Get World Asset

Return type:

World

is_loaded() bool

Is Loaded

Return type:

bool

load_level_instance() None

Load Level Instance

set_world_asset(world_asset) bool

Sets the UWorld asset reference when loading a LevelInstance

Parameters:

world_asset (World) –

Return type:

bool

unload_level_instance() None

Unload Level Instance