IAssetFamily

Represents a group of related assets, e.g. a skeleton, its animations and skeletal meshes

Windows
MacOS
Linux

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

Name Description

Public function Virtual

~IAssetFamily()

Virtual destructor

Functions

Name Description

Public function Const

FAssetData

 

FindAssetOfType

(
    UClass* AssetType
)

Find the most relevant asset of a specified type

Public function Const

void

 

FindAssetsOfType

(
    UClass* AssetType,
    TArray< FAssetData >& OutAssets
)

Find all assets of a specified type

Public function

FAssetData

 

GetAsset()

Find the most relevant asset of a specified type

Public function Const

UClass *

 

GetAssetFamilyClass

(
    UClass* InClass
)

Public function

void

 

GetAssets

(
    TArray< FAssetData >& OutAssets
)

Find all assets of a specified type

Public function Const

FText

 

GetAssetTypeDisplayName

(
    UClass* InAssetClass
)

Gets the name of an asset that will be displayed to a user

Public function Const

void

 

GetAssetTypes

(
    TArray< UClass* >& OutAssetTy...
)

Get all the asset classes this family supports (doesnt need to include derived classes)

Public function

IAssetFamily...

 

GetOnAssetOpened()

Public function Const

bool

 

IsAssetCompatible

(
    const FAssetData& InAssetData
)

Check whether an asset is compatible with this family

Public function

void

 

RecordAssetOpened

(
    const FAssetData& InAssetData
)

Record that an asset was opened

Classes

Name

Description

Public class

FOnAssetOpened

Event fired when an asset is opened

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss