Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h |
Include |
#include "Engine/AssetManager.h" |
Source |
/Engine/Source/Runtime/Engine/Private/AssetManager.cpp |
virtual void InitializeAssetBundlesFromMetadata
(
const UStruct * Struct,
const void * StructValue,
FAssetBundleData & AssetBundle,
FName DebugName
) const
Initializes asset bundle data from a passed in struct or class, this will read the AssetBundles metadata off the UProperties. As an example this property definition:
TSoftObjectPtr
Would add the value of CurveTableReference to both the Client and Server asset bundles
Parameter |
Description |
---|---|
Struct |
UScriptStruct or UClass representing the property hierarchy |
StructValue |
Location in memory of Struct or Object |
AssetBundle |
Bundle that will be filled out |