G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
WorldPartition Namespace Reference

Functions

World Partition
FBox GetRuntimeWorldBounds ()
 Gets the runtime world bounds, which only includes actor descriptors that aren't editor only.
bool GetActorDescsForActors (TArray< AActor > InActors, TArray< FActorDesc > &OutActorDescs)
 Gets all the actor descriptors from the provided actor pointers, which represents descriptors on disk, e.g. will not reflect properties of unsaved actors.
UDataLayerManager GetDataLayerManager ()
 Returns the Data Layer Manager for this object.
FBox GetEditorWorldBounds ()
 Gets the editor world bounds, which includes all actor descriptors.
bool GetIntersectingActorDescs (FBox InBox, TArray< FActorDesc > &OutActorDescs)
 Gets all the actor descriptors intersecting the provided box into the provided array, recursing into actor containers.
bool GetActorDescs (TArray< FActorDesc > &OutActorDescs)
 Gets all the actor descriptors into the provided array, recursing into actor containers.
void LoadActors (TArray< FGuid > InActorsToLoad)
 Load actors.
void PinActors (TArray< FGuid > InActorsToPin)
 Pin actors.
void UnloadActors (TArray< FGuid > InActorsToUnload)
 Unload actors.
void UnpinActors (TArray< FGuid > InActorsToUnpin)
 Unpin actors.

Variables

Variables
const FBox RuntimeWorldBounds
const FBox EditorWorldBounds

Function Documentation

◆ GetActorDescs()

bool GetActorDescs ( TArray< FActorDesc > & OutActorDescs)

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

Returns
True if the operation was successful.

◆ GetActorDescsForActors()

bool GetActorDescsForActors ( TArray< AActor > InActors,
TArray< FActorDesc > & OutActorDescs )

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

Returns
True if the operation was successful.

◆ GetDataLayerManager()

UDataLayerManager GetDataLayerManager ( )

Returns the Data Layer Manager for this object.

◆ GetEditorWorldBounds()

FBox GetEditorWorldBounds ( )

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

Returns
The editor world bounds.

◆ GetIntersectingActorDescs()

bool GetIntersectingActorDescs ( FBox InBox,
TArray< FActorDesc > & OutActorDescs )

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

Returns
True if the operation was successful.

◆ GetRuntimeWorldBounds()

FBox GetRuntimeWorldBounds ( )

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

Returns
The runtime world bounds.

◆ LoadActors()

void LoadActors ( TArray< FGuid > InActorsToLoad)

Load actors.

◆ PinActors()

void PinActors ( TArray< FGuid > InActorsToPin)

Pin actors.

◆ UnloadActors()

void UnloadActors ( TArray< FGuid > InActorsToUnload)

Unload actors.

◆ UnpinActors()

void UnpinActors ( TArray< FGuid > InActorsToUnpin)

Unpin actors.

Variable Documentation

◆ EditorWorldBounds

const FBox EditorWorldBounds

◆ RuntimeWorldBounds

const FBox RuntimeWorldBounds