unreal.MetaHumanAssetManager

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

Bases: BlueprintFunctionLibrary

Manages MetaHuman characters and compatible assets in the project

C++ Source:

  • Plugin: MetaHumanSDK

  • Module: MetaHumanSDKEditor

  • File: MetaHumanAssetManager.h

classmethod create_archive(assets, archive_path) bool

Packages up the described MetaHuman Asset (including dependencies) into a zip file

Parameters:
Returns:

Whether the archive was successfully created

Return type:

bool

classmethod find_assets_for_packaging(asset_type) Array[MetaHumanAssetDescription]

Finds all assets in the project that ore of the correct type and in the correct location to be packaged

Parameters:

asset_type (MetaHumanAssetType) – The type of asset to find

Returns:

The found assets

Return type:

Array[MetaHumanAssetDescription]

classmethod is_asset_of_type(root_package, asset_type) bool

Performs some simple tests to see if an asset is of the correct type and in the correct location to be a Root Asset of the given type of MetaHuman Asset.

Parameters:
  • root_package (Name) – The Root Package of the asset to be tested

  • asset_type (MetaHumanAssetType) – The type of asset to be tested against

Returns:

Whether the asset is a packageable asset of the given type

Return type:

bool

classmethod update_asset_dependencies(asset) -> (MetaHumanAssetDescription, asset=MetaHumanAssetDescription)

Updates the stored package dependencies for a MetaHuman Asset

Parameters:

asset (MetaHumanAssetDescription) – The MetaHuman Asset to update

Returns:

asset (MetaHumanAssetDescription): The MetaHuman Asset to update

Return type:

MetaHumanAssetDescription

classmethod update_asset_details(asset) -> (MetaHumanAssetDescription, asset=MetaHumanAssetDescription)

Updates the stored asset details for a MetaHuman Asset

Parameters:

asset (MetaHumanAssetDescription) – The MetaHuman Asset to update

Returns:

asset (MetaHumanAssetDescription): The MetaHuman Asset to update

Return type:

MetaHumanAssetDescription