Bootstrap Chameleon Logo

PythonLevelLib

Function Name Description
remove_level_from_world Remove specified level from current world.
get_levels Get all levels in the world.
delete_umap None
apply_world_offset None

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.

delete_umap

unreal.PythonLevelLib.delete_umap(level) -> None
    Delete Umap

    Args:
        level (Object):

apply_world_offset

unreal.PythonLevelLib.apply_world_offset(level, position) -> None
    UFUNCTION(BlueprintCallable, meta = (Keywords = "Python Editor"), Category = "PythonEditor")
    FIntVector GetAbsoluteLevelPosition(ULevel* Level);

    Args:
        level (Level):
        position (IntVector):

Other Editor Python Libs: