UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPrimaryAssetTypeData Struct Reference

Public Member Functions

const TMap< FName, FPrimaryAssetData > & GetAssets () const
 
FPrimaryAssetDataFindOrAddAsset (FName AssetName, const FSoftObjectPtr &AssetPtr, const FSoftObjectPath &ARLookupPath, TMap< FSoftObjectPath, FPrimaryAssetId > &InOutReverseMap)
 
void RemoveAsset (FName AssetName, TMap< FSoftObjectPath, FPrimaryAssetId > &InOutReverseMap)
 
void ResetAssets (TMap< FSoftObjectPath, FPrimaryAssetId > &InOutReverseMap)
 
void ShrinkAssets ()
 
 FPrimaryAssetTypeData ()
 
 ~FPrimaryAssetTypeData ()
 
 FPrimaryAssetTypeData (FName InPrimaryAssetType, UClass *InAssetBaseClass, bool bInHasBlueprintClasses, bool bInIsEditorOnly)
 

Public Attributes

FPrimaryAssetTypeInfo Info
 
TSet< FString > DeferredAssetScanPaths
 
TSet< FString > AdditionalAssetScanPaths
 
TSet< FString > RealAssetScanPaths
 

Detailed Description

Structure representing all items of a specific asset type

Constructor & Destructor Documentation

◆ FPrimaryAssetTypeData() [1/2]

FPrimaryAssetTypeData::FPrimaryAssetTypeData ( )
inline

◆ ~FPrimaryAssetTypeData()

FPrimaryAssetTypeData::~FPrimaryAssetTypeData ( )

◆ FPrimaryAssetTypeData() [2/2]

FPrimaryAssetTypeData::FPrimaryAssetTypeData ( FName  InPrimaryAssetType,
UClass InAssetBaseClass,
bool  bInHasBlueprintClasses,
bool  bInIsEditorOnly 
)
inline

Member Function Documentation

◆ FindOrAddAsset()

FPrimaryAssetData & FPrimaryAssetTypeData::FindOrAddAsset ( FName  AssetName,
const FSoftObjectPtr AssetPtr,
const FSoftObjectPath ARLookupPath,
TMap< FSoftObjectPath, FPrimaryAssetId > &  InOutReverseMap 
)

◆ GetAssets()

const TMap< FName, FPrimaryAssetData > & FPrimaryAssetTypeData::GetAssets ( ) const

◆ RemoveAsset()

void FPrimaryAssetTypeData::RemoveAsset ( FName  AssetName,
TMap< FSoftObjectPath, FPrimaryAssetId > &  InOutReverseMap 
)

◆ ResetAssets()

void FPrimaryAssetTypeData::ResetAssets ( TMap< FSoftObjectPath, FPrimaryAssetId > &  InOutReverseMap)

◆ ShrinkAssets()

void FPrimaryAssetTypeData::ShrinkAssets ( )

Member Data Documentation

◆ AdditionalAssetScanPaths

TSet<FString> FPrimaryAssetTypeData::AdditionalAssetScanPaths

List of paths that were explicitly requested by other systems and not loaded from the default config

◆ DeferredAssetScanPaths

TSet<FString> FPrimaryAssetTypeData::DeferredAssetScanPaths

In the editor, paths that we need to scan once asset registry is done loading

◆ Info

FPrimaryAssetTypeInfo FPrimaryAssetTypeData::Info

The public info struct

◆ RealAssetScanPaths

TSet<FString> FPrimaryAssetTypeData::RealAssetScanPaths

Expanded list of asset scan paths and package names, will not include virtual paths


The documentation for this struct was generated from the following file: