![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <LevelStreamingGCHelper.h>
Public Member Functions | |
| DECLARE_MULTICAST_DELEGATE (FOnGCStreamedOutLevelsEvent) | |
Static Public Member Functions | |
| static ENGINE_API void | AddGarbageCollectorCallback () |
| static ENGINE_API void | RequestUnload (ULevel *InLevel) |
| static ENGINE_API void | CancelUnloadRequest (ULevel *InLevel) |
| static ENGINE_API int32 | GetNumLevelsPendingPurge () |
| static ENGINE_API void | TrashPackage (UPackage *InPackage) |
| static ENGINE_API void | EnableForCommandlet () |
Static Public Attributes | |
| static ENGINE_API FOnGCStreamedOutLevelsEvent | OnGCStreamedOutLevels |
Helper structure encapsulating functionality used to defer marking actors and their components as pending kill till right before garbage collection by registering a callback.
|
static |
Register with the garbage collector to receive callbacks pre and post garbage collection
Cancel any pending unload requests for passed in Level.
| FLevelStreamingGCHelper::DECLARE_MULTICAST_DELEGATE | ( | FOnGCStreamedOutLevelsEvent | ) |
Called when streamed out levels are going to be garbage collected
|
static |
Allows FLevelStreamingGCHelper to be used in a commandlet.
|
static |
Request to be unloaded.
| InLevel | Level that should be unloaded |
Trash a package, making sure it will be reloaded if needed again by level streaming
|
static |