Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FWorldPartitionHelpers
Struct of optional parameters passed to foreach actordesc functions.
| Name | FForEachActorWithLoadingParams |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/WorldPartitionHelpers.h |
| Include Path | #include "WorldPartition/WorldPartitionHelpers.h" |
Syntax
struct FForEachActorWithLoadingParams
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FForEachActorWithLoadingParams() |
WorldPartition/WorldPartitionHelpers.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorClasses | TArray< TSubclassOf< AActor > > | The classes used to filter actors loading. | WorldPartition/WorldPartitionHelpers.h | |
| ActorGuids | TArray< FGuid > | If not empty, iteration will be done only on those actors. | WorldPartition/WorldPartitionHelpers.h | |
| bGCPerActor | bool | Perform a garbage collection per-actor, useful to test if the caller properly handle GCs. | WorldPartition/WorldPartitionHelpers.h | |
| bKeepReferences | bool | Prevent clearing of actor references. | WorldPartition/WorldPartitionHelpers.h | |
| FilterActorDesc | TUniqueFunction< bool(const FWorldPartitionActorDesc *)> | Custom filter function used to filter actors loading. | WorldPartition/WorldPartitionHelpers.h | |
| OnPreGarbageCollect | TUniqueFunction< void()> | Called right before releasing actor references and performing garbage collection. | WorldPartition/WorldPartitionHelpers.h |