Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h |
Include |
#include "Engine/AssetManager.h" |
Source |
/Engine/Source/Runtime/Engine/Private/AssetManager.cpp |
virtual bool AddDynamicAsset
(
const FPrimaryAssetId & PrimaryAssetId,
const FSoftObjectPath & AssetPath,
const FAssetBundleData & BundleData
)
Adds or updates a Dynamic asset, which is a runtime-specified asset that has no on disk representation, so has no FAssetData. But it can have bundle state and a path.
True if added
Parameter |
Description |
---|---|
FPrimaryAssetId |
Type/Name of the asset. The type info will be created if it doesn't already exist |
AssetPath |
Path to the object representing this asset, this is optional for dynamic assets |
BundleData |
List of Name->asset paths that represent the possible bundle states for this asset |