unreal.AssetActionUtility

class unreal.AssetActionUtility(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: EditorUtilityObject

Base class for all asset action-related utilities Any functions/events that are exposed on derived classes that have the correct signature will be included as menu options when right-clicking on a group of assets in the content browser.

C++ Source:

  • Module: Blutility

  • File: AssetActionUtility.h

get_supported_class()

Return the class that this asset action supports (if not implemented, it will show up for all asset types)

Return type:

type(Class)

is_action_for_blueprints() bool

Returns whether or not this action is designed to work specifically on Blueprints (true) or on all assets (false). If true, GetSupportedClass() is treated as a filter against the Parent Class of selected Blueprint assets

Return type:

bool