Navigation
API > API/Editor > API/Editor/UnrealEd
Class responsible for maintaing a cache of clean source file names (bla.txt) to asset data
| Name | FAssetSourceFilenameCache |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/AutoReimport/AssetSourceFilenameCache.h |
| Include Path | #include "AutoReimport/AssetSourceFilenameCache.h" |
Syntax
class FAssetSourceFilenameCache
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssetSourceFilenameCache() |
AutoReimport/AssetSourceFilenameCache.h |
Classes
| Name | Remarks |
|---|---|
| FAssetRenamedEvent | Event for when an asset has been renamed, and has been updated in our source file cache |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetRenamedEvent | FAssetRenamedEvent | Event that is triggered when an asset has been renamed, and we've updated our cache | AutoReimport/AssetSourceFilenameCache.h | |
| CachePipe | UE::Tasks::FPipe | Pipe to serialize access to cache. | AutoReimport/AssetSourceFilenameCache.h | |
| SourceFileToObjectPathCache | TMap< FString, TSet< FSoftObjectPath > > | Map of clean filenames (no leading path information) to object paths that were imported with that file | AutoReimport/AssetSourceFilenameCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FAssetData > GetAssetsPertainingToFile
(
const IAssetRegistry& Registry, |
Retrieve a list of assets that were imported from the specified filename | AutoReimport/AssetSourceFilenameCache.h | |
FAssetRenamedEvent & OnAssetRenamed() |
AutoReimport/AssetSourceFilenameCache.h | ||
void Shutdown() |
Shutdown this instance of the cache | AutoReimport/AssetSourceFilenameCache.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TOptional< FAssetImportInfo > ExtractAssetImportInfo
(
const FAssetData& AssetData |
Helper functions to extract asset import information from asset registry tags | AutoReimport/AssetSourceFilenameCache.h | |
static FAssetSourceFilenameCache & Get() |
Singleton access | AutoReimport/AssetSourceFilenameCache.h |