Navigation
Unreal Engine C++ API Reference > Runtime > AssetRegistry > AssetRegistry
Inheritance Hierarchy
- IModuleInterface
- IAssetRegistryInterface
- FAssetRegistryModule
References
Module | AssetRegistry |
Header | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryModule.h |
Include | #include "AssetRegistry/AssetRegistryModule.h" |
Syntax
class FAssetRegistryModule :
public IModuleInterface,
public IAssetRegistryInterface
Remarks
Asset registry module
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AssetCreated
(
UObject* NewAsset |
|
![]() ![]() |
void | AssetDeleted
(
UObject* DeletedAsset |
|
![]() ![]() |
void | AssetRenamed
(
const UObject* RenamedAsset, |
|
![]() ![]() |
void | AssetsSaved
(
TArray< FAssetData >&& SavedAssets |
|
![]() ![]() ![]() |
IAssetRegistry & | Get () |
|
![]() ![]() |
IAssetRegistry & | GetRegistry () |
|
![]() ![]() |
bool | IsValid () |
Reports whether Get is valid to call. Will be true except during engine shutdown. |
![]() ![]() |
void | PackageDeleted
(
UPackage* DeletedPackage |
|
![]() ![]() |
void | TickAssetRegistry
(
float DeltaTime |
|
![]() ![]() |
IAssetRegistry * | TryGet () |
Returns AssetRegistry pointer if valid, or nullptr. Will be non-null except during engine shutdown. |
Overridden from IModuleInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Called right after the module DLL has been loaded and the module object has been created |
Overridden from IAssetRegistryInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | GetDependencies
(
FName InPackageName, |
Access the dependent package names for a given source package |
![]() ![]() ![]() |
UE::AssetRegistry::EExists | TryGetAssetByObjectPath
(
const FSoftObjectPath& ObjectPath, |
Tries to get the asset data for the specified object path |
![]() ![]() ![]() |
UE::AssetRegistry::EExists | TryGetAssetPackageData
(
FName PackageName, |
Tries to get the pacakge data for a specified path |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AssetSaved
(
const UObject& SavedAsset |
Use the new AssetsSaved function that takes FAssetData. |