Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/AssetRegistry
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetBundleData.h |
Include | #include "AssetRegistry/AssetBundleData.h" |
Syntax
struct FAssetBundleData
Remarks
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
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FAssetBundleEntry > | Bundles | List of bundles defined |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Declare constructors inline so this can be a header only class | ||
![]() |
FAssetBundleData
(
const FAssetBundleData& |
||
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddBundleAsset
(
FName BundleName, |
Adds or updates an entry with the given BundleName -> Path. |
![]() |
void | AddBundleAssets
(
FName BundleName, |
Adds multiple assets at once |
![]() |
void | AddBundleAssetsTruncated
(
FName BundleName, |
Adds multiple assets at once, truncating to top-level asset paths if necessary |
![]() |
void | AddBundleAssetTruncated
(
FName BundleName, |
Adds or updates an entry with the given BundleName -> Path, truncating to a top-level asset path if necessary. |
![]() ![]() |
bool | ExportTextItem
(
FString& ValueStr, |
Override Import/Export to not write out empty structs |
![]() |
FAssetBundleEntry * | Returns pointer to an entry with given Scope/Name | |
![]() |
bool | ImportTextItem
(
const TCHAR*& Buffer, |
|
![]() |
void | Reset () |
Resets the data to defaults |
![]() |
void | SetBundleAssets
(
FName BundleName, |
A fast set of asset bundle assets, will destroy copied in path list |
![]() |
void | SetBundleAssetsTruncated
(
FName BundleName, |
Replaces the contents of this bundle with the given assets, truncating to top-level asset paths if necessary. |
![]() ![]() |
FString |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FAssetBundleData& Other |
|
![]() |
FAssetBundleData & | operator=
(
const FAssetBundleData& |
|
![]() |
FAssetBundleData & | operator=
(
FAssetBundleData&& |
|
![]() ![]() |
bool | operator==
(
const FAssetBundleData& Other |
Equality |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddBundleAsset
(
FName BundleName, |
The contents of an asset bundle now use FTopLevelAssetPath instead of FSoftObjectPath. |
![]() |
void | AddBundleAsset
(
FName BundleName, |
The contents of an asset bundle now use FTopLevelAssetPath instead of FSoftObjectPath. |
![]() |
void | AddBundleAssets
(
FName BundleName, |
The contents of an asset bundle now use FTopLevelAssetPath instead of FSoftObjectPath. |
![]() |
void | SetBundleAssets
(
FName BundleName, |
The contents of an asset bundle now use FTopLevelAssetPath instead of FSoftObjectPath. |