Function Name | Description | |
---|---|---|
remove_level_from_world | Remove specified level from current world. | |
get_levels | Get all levels in the world. |
remove_level_from_world¶
Remove specified level from current world.
unreal.PythonLevelLib.remove_level_from_world(level_short_name) -> bool
Remove specified level from current world.
Args:
level_short_name (str): The short name of level to be removed.
Returns:
bool: Succeed or not.
get_levels¶
Get all levels in the world.
unreal.PythonLevelLib.get_levels(world_in) -> Array[Level]
Get all levels in the world.
Args:
world_in (World): The world owned the Levels.
Returns:
Array[Level]: The Levels in the world.
Other Editor Python Libs: