|
| virtual void | GetDependencies (FName InPackageName, TArray< FName > &OutDependencies, UE::AssetRegistry::EDependencyCategory Category=UE::AssetRegistry::EDependencyCategory::Package, const UE::AssetRegistry::FDependencyQuery &Flags=UE::AssetRegistry::FDependencyQuery()) override |
| |
| virtual UE::AssetRegistry::EExists | TryGetAssetByObjectPath (const FSoftObjectPath &ObjectPath, FAssetData &OutAssetData) const override |
| |
| virtual UE::AssetRegistry::EExists | TryGetAssetPackageData (FName PackageName, class FAssetPackageData &OutPackageData) const override |
| |
| virtual UE::AssetRegistry::EExists | TryGetAssetPackageData (FName PackageName, class FAssetPackageData &OutPackageData, FName &OutCorrectCasePackageName) const override |
| |
| virtual bool | EnumerateAssets (const FARFilter &Filter, TFunctionRef< bool(const FAssetData &)> Callback, UE::AssetRegistry::EEnumerateAssetsFlags InEnumerateFlags) const override |
| |
| virtual bool | RegisterOnAssetsAddedDelegate (const TFunction< void(TConstArrayView< FAssetData >)> &Function, FDelegateHandle &OutHandle) override |
| |
| virtual bool | UnregisterOnAssetsAddedDelegate (const FDelegateHandle &Handle) override |
| |
| virtual bool | RegisterOnAssetsRemovedDelegate (const TFunction< void(TConstArrayView< FAssetData >)> &Function, FDelegateHandle &OutHandle) override |
| |
| virtual bool | UnregisterOnAssetsRemovedDelegate (const FDelegateHandle &Handle) override |
| |
Implementation of IAssetRegistryInterface; forwards calls from the CoreUObject-accessible IAssetRegistryInterface into the AssetRegistry-accessible IAssetRegistry
◆ EnumerateAssets()
Enumerate asset data for all assets that match the filter. Assets returned must satisfy every filter component if there is at least one element in the component's array. Assets will satisfy a component if they match any of the elements in it.
- Parameters
-
| Filter | filter to apply to the assets in the AssetRegistry |
| Callback | function to call for each asset data enumerated |
| InEnumerateFlags | flags to control enumeration and filtering. |
- See also
- EEnumerateAssetsFlags.
- Returns
- False if the AssetRegistry is not available or the filter is invalid, otherwise true.
Implements IAssetRegistryInterface.
◆ GetDependencies()
Lookup dependencies for the given package name and fill OutDependencies with direct dependencies
Implements IAssetRegistryInterface.
◆ RegisterOnAssetsAddedDelegate()
◆ RegisterOnAssetsRemovedDelegate()
◆ TryGetAssetByObjectPath()
Tries to get the asset data for the specified object path
- Parameters
-
| ObjectPath | the path of the object to be looked up |
| OutAssetData | out FAssetData |
- Returns
- Return code enum
Implements IAssetRegistryInterface.
◆ TryGetAssetPackageData() [1/2]
Tries to get the package data for the specified package name
- Parameters
-
- Returns
- Return code enum
Implements IAssetRegistryInterface.
◆ TryGetAssetPackageData() [2/2]
Tries to get the package data for the specified package name. If found, OutCorrectCasePackageName will be populated with the PackageName that matches the casing used by the filesystem
- Parameters
-
| PackageName | name of the package |
| OutAssetPackageData | out FAssetPackageData |
| OutCorrectCasePackageName | out FName matching filesystem casing |
- Returns
- Return code enum
Implements IAssetRegistryInterface.
◆ UnregisterOnAssetsAddedDelegate()
◆ UnregisterOnAssetsRemovedDelegate()
The documentation for this class was generated from the following file: