A struct with a list of asset bundle entries. 更多...
#include <AssetBundleData.h>
Public 成员函数 | |
| void | AddBundleAsset (FName BundleName, const FSoftObjectPath &AssetPath) |
| Adds or updates an entry with the given BundleName -> Path. 更多... | |
| void | AddBundleAssets (FName BundleName, const TArray< FSoftObjectPath > &AssetPaths) |
| Adds multiple assets at once | |
| bool | ExportTextItem (FString &ValueStr, FAssetBundleData const &DefaultValue, UObject *Parent, int32 PortFlags, UObject *ExportRootScope) const |
| Override Import/Export to not write out empty structs | |
| FORCEINLINE | FAssetBundleData () |
| Declare constructors inline so this can be a header only class | |
| FAssetBundleEntry * | FindEntry (const FPrimaryAssetId &SearchScope, FName SearchName) |
| Returns pointer to an entry with given Scope/Name | |
| bool | operator== (const FAssetBundleData &Other) const |
| Equality | |
| void | Reset () |
| Resets the data to defaults | |
| void | SetBundleAssets (FName BundleName, TArray< FSoftObjectPath > &&AssetPaths) |
| A fast set of asset bundle assets, will destroy copied in path list | |
| bool | SetFromAssetData (const struct FAssetData &AssetData) |
| Extract this out of an AssetData | |
Public 属性 | |
| TArray< FAssetBundleEntry > | Bundles |
| List of bundles defined | |
A struct with a list of asset bundle entries.
If one of these is inside a UObject it will get automatically exported as the asset registry tag AssetBundleData
| void FAssetBundleData::AddBundleAsset | ( | FName | BundleName, |
| const FSoftObjectPath & | AssetPath | ||
| ) |
Adds or updates an entry with the given BundleName -> Path.
Scope is empty and will be filled in later