unreal.WorldPartitionBlueprintLibrary

class unreal.WorldPartitionBlueprintLibrary(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: BlueprintFunctionLibrary

World Partition Blueprint Library

C++ Source:

  • Module: Engine

  • File: WorldPartitionBlueprintLibrary.h

classmethod get_actor_descs() Array[ActorDesc] or None

Gets all the actor descriptors into the provided array, recursing into actor containers.

Returns:

True if the operation was successful.

out_actor_descs (Array[ActorDesc]):

Return type:

Array[ActorDesc] or None

classmethod get_editor_world_bounds() Box

Gets the editor world bounds, which includes all actor descriptors.

Returns:

The editor world bounds.

Return type:

Box

classmethod get_intersecting_actor_descs(box) Array[ActorDesc] or None

Gets all the actor descriptors intersecting the provided box into the provided array, recursing into actor containers.

Parameters:

box (Box) –

Returns:

True if the operation was successful.

out_actor_descs (Array[ActorDesc]):

Return type:

Array[ActorDesc] or None

classmethod get_runtime_world_bounds() Box

Gets the runtime world bounds, which only includes actor descriptors that aren’t editor only.

Returns:

The runtime world bounds.

Return type:

Box

classmethod load_actors(actors_to_load) None

Load actors

Parameters:

actors_to_load (Array[Guid]) –

classmethod unload_actors(actors_to_load) None

Unload actors

Parameters:

actors_to_load (Array[Guid]) –