unreal.WorldPartitionBlueprintLibrary

class unreal.WorldPartitionBlueprintLibrary(outer: Object | None = None, name: 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_actor_descs_for_actors(actors) Array[ActorDesc] or None

Gets all the actor descriptors from the provided actor pointers, which represents descriptors on disk, e.g. will not reflect properties of unsaved actors.

Parameters:

actors (Array[Actor]) –

Returns:

True if the operation was successful.

out_actor_descs (Array[ActorDesc]):

Return type:

Array[ActorDesc] or None

classmethod get_data_layer_manager(world_context_object) DataLayerManager

Returns the Data Layer Manager for this object.

Parameters:

world_context_object (Object) –

Return type:

DataLayerManager

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 pin_actors(actors_to_pin) None

Pin actors

Parameters:

actors_to_pin (Array[Guid]) –

classmethod unload_actors(actors_to_unload) None

Unload actors

Parameters:

actors_to_unload (Array[Guid]) –

classmethod unpin_actors(actors_to_unpin) None

Unpin actors

Parameters:

actors_to_unpin (Array[Guid]) –