unreal.ActorActionUtility

class unreal.ActorActionUtility(outer=None, name='None')

Bases: unreal.GlobalEditorUtilityBase

Base class for all actor 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 actors in the level editor.

C++ Source:

  • Module: Blutility
  • File: ActorActionUtility.h

Editor Properties: (see get_editor_property/set_editor_property)

  • auto_run_default_action (bool): [Read-Write] Should this blueprint automatically run OnDefaultActionClicked, or should it open up a details panel to edit properties and/or offer multiple buttons
  • help_text (str): [Read-Write] Help Text
  • on_each_selected_actor (ForEachActorIteratorSignature): [Read-Write] The method called for each selected actor when ForEachSelectedActor is called
  • on_each_selected_asset (ForEachAssetIteratorSignature): [Read-Write] The method called for each selected asset when ForEachSelectedAsset is called
get_supported_class() -> type(Class)

Return the class that this actor action supports. Leave this blank to support all actor classes.

Returns:
Return type:type(Class)