Navigation
API > API/Editor > API/Editor/Persona
References
| Module | Persona |
| Header | /Engine/Source/Editor/Persona/Public/IAssetFamily.h |
| Include | #include "IAssetFamily.h" |
Syntax
class IAssetFamily
Remarks
Represents a group of related assets, e.g. a skeleton, its animations and skeletal meshes
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FAssetData | FindAssetOfType
(
UClass* AssetType |
Find the most relevant asset of a specified type | |
| void | FindAssetsOfType
(
UClass* AssetType, |
Find all assets of a specified type | |
| FAssetData | GetAsset () |
Find the most relevant asset of a specified type | |
| UClass * | GetAssetFamilyClass
(
UClass* InClass |
||
| void | Find all assets of a specified type | ||
| const FSlateBrush * | GetAssetTypeDisplayIcon
(
UClass* InAssetClass |
Gets the slate brush that represents this asset family | |
| FText | GetAssetTypeDisplayName
(
UClass* InAssetClass |
Gets the name of an asset that will be displayed to a user | |
| FSlateColor | GetAssetTypeDisplayTint
(
UClass* InAssetClass |
Gets the color to tint the asset display icon | |
| void | GetAssetTypes
(
TArray< UClass* >& OutAssetTypes |
Get all the asset classes this family supports (doesnt need to include derived classes) | |
| IAssetFamily::FOnAssetFamilyChanged TBaseMulticastDelegate_NoParams | |||
| IAssetFamily::FOnAssetOpened TBaseMulticastDelegate_OneParam | |||
| bool | IsAssetCompatible
(
const FAssetData& InAssetData |
Check whether an asset is compatible with this family | |
| void | RecordAssetOpened
(
const FAssetData& InAssetData |
Record that an asset was opened |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnAssetFamilyChanged | Event fired when an asset family changes (e.g. relationships are altered) | ||
| FOnAssetOpened | Event fired when an asset is opened |