AssetManager.UnloadPrimaryAssetsWithType
AssetManager.UnloadPrimaryAssetsWithType
#Overview
name: AssetManager.UnloadPrimaryAssetsWithType
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Unloads all assets of a given type
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/AssetManager.cpp:5077
Scope: file
Source code excerpt:
// Cheat command to unload all assets of a given type
static FAutoConsoleCommandWithWorldAndArgs CVarUnloadPrimaryAssetsWithType(
TEXT("AssetManager.UnloadPrimaryAssetsWithType"),
TEXT("Unloads all assets of a given type"),
FConsoleCommandWithWorldAndArgsDelegate::CreateStatic(
[](const TArray<FString>& Params, UWorld* World)
{
if (Params.Num() == 0)
{