Module |
|
Header |
/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistrySource.h |
Include |
#include "DataRegistrySource.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract)
class UMetaDataRegistrySource : public UDataRegistrySource
Base class for a data source that generates additional data sources at runtime
Name | Description | ||
---|---|---|---|
|
AssetUsage |
Asset usage |
|
|
NewAssetSearchRootHandle |
Delegate handle for OnNewAssetSearchRoot |
|
|
RuntimeChildren |
Map from source identifier such as package name to registered child |
|
|
RuntimeNames |
List of desired source ids, in order |
|
|
SearchRules |
Asset registry scan rules |
|
|
SpecificRegisteredAssets |
Name | Description | ||
---|---|---|---|
|
DetermineRuntimeNames |
Fills in list of desired runtime names, must be overridden! |
|
|
DoesAssetPassFilter ( |
Returns true if this asset data passes the filter for this meta source, bNewRegisteredAsset is true if it comes from a RegisterSpecificAsset call and needs extra path checking |
|
|
TSubclassOf<... |
GetChildSourceClass() |
Returns what subclass of source to use for children, must be overridden! |
|
OnNewAssetSearchRoot ( |
Callback registered when an asset search root as been added post launch |
|
|
SetDataForChild ( |
Fills in new or existing child source for specific name, must be overridden! |
|
|
SortRegisteredAssets() |
Sort assets, default order is by priority then array order |
Name | Description | ||
---|---|---|---|
|
AddRuntimeSources ( |
Gets the list of runtime sources that should be registered for this source, will either be itself or a list of children |
|
|
IsSpecificAssetRegistered ( |
Returns true if this asset is already registered with this source |
|
|
RefreshRuntimeSources() |
Called to regenerate runtime sources if needed, won't do anything for simple sources |
|
|
RegisterSpecificAsset ( |
Attempt to register a specified asset with a source, returns true if any changes were made. |
|
|
UnregisterAssetsWithPriority ( |
Unregisters all previously registered assets in a specific registry with a specific priority, can be used as a batch reset. |
|
|
UnregisterSpecificAsset ( |
Removes references to a specific asset, returns bool if it was removed |
Name |
Description |
---|---|
FRegisteredAsset |
List of specific assets registered with source, in runtime order sorted by priority |