unreal.ActorActionUtility
¶
- class unreal.ActorActionUtility(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
EditorUtilityObject
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)
supported_classes
(Array[Class]): [Read-Write] For simple Asset Action’s you should fill out the supported class here.
- get_supported_class()¶
Get Supported Class deprecated: If you were just returning a single class add it to the SupportedClasses array (you can find it listed in the Class Defaults). If you were doing complex logic to simulate having multiple classes act as filters, add them to the SupportedClasses array. If you were doing ‘other’ logic, you’ll need to do that upon action execution.