unreal.PCGLevelToAsset

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

Bases: PCGAssetExporter

PCGLevel to Asset

C++ Source:

  • Plugin: PCG

  • Module: PCGEditor

  • File: PCGLevelToAsset.h

bp_export_world(world, package_name, asset) bool

Parses the world and fills in the provided data asset. Implement this in BP to drive the generation in a custom manner.

Parameters:
Return type:

bool

get_world() World

Get World

Return type:

World

set_world(world) None

Set World

Parameters:

world (World)

set_world_object(world_object) bool

Set the world to export from a UObject. The WorldObject must be a World. Return false if the object is not a world or null.

Parameters:

world_object (Object)

Return type:

bool