unreal.ActorGroupingUtils
¶
- class unreal.ActorGroupingUtils(outer=None, name='None')¶
Bases:
unreal.Object
Helper class for grouping actors in the level editor
C++ Source:
Module: UnrealEd
File: ActorGroupingUtils.h
- add_selected_to_group() → None¶
Activates “Add to Group” mode which allows the user to select a group to append current selection
- classmethod get() → ActorGroupingUtils¶
Convenience method for accessing grouping utils in a blueprint or script
- Returns
- Return type
- group_actors(actors_to_group) → None¶
Creates a new group from the provided list of actors removing the actors from any existing groups they are already in
- group_selected() → None¶
Creates a new group from the current selection removing the actors from any existing groups they are already in
- remove_selected_from_group() → None¶
Removes any groups or actors in the current selection from their immediate parent. If all actors/subgroups are removed, the parent group will be destroyed.
- classmethod set_grouping_active(grouping_active) → None¶
Set Grouping Active
- Parameters
grouping_active (bool) –
- ungroup_actors(actors_to_ungroup) → None¶
Disbands any groups that the provided actors belong to, does not attempt to maintain any hierarchy