unreal.TypedElementAssetDataInterface

class unreal.TypedElementAssetDataInterface(outer: Object | None = None, name: Name | str = 'None')

Bases: Interface

Typed Element Asset Data Interface

C++ Source:

  • Module: TypedElementRuntime

  • File: TypedElementAssetDataInterface.h

get_all_referenced_asset_datas(element_handle) Array[AssetData]

Returns any asset datas for content objects referenced by handle. If the given handle itself has valid asset data, it should be returned as the last element of the array.

Parameters:

element_handle (ScriptTypedElementHandle) –

Returns:

An array of valid asset datas.

Return type:

Array[AssetData]

get_asset_data(element_handle) AssetData

Returns the asset data for the given handle, if it exists.

Parameters:

element_handle (ScriptTypedElementHandle) –

Return type:

AssetData