unreal.AIESelectionSets¶
- class unreal.AIESelectionSets(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
AssetUserDataLink To Set of Anim Sequences that we may be linked to.
C++ Source:
Plugin: ControlRig
Module: ControlRigEditor
File: SelectionSets.h
Editor Properties: (see get_editor_property/set_editor_property)
selection_sets(Map[Guid, AIESelectionSetItem]): [Read-Write]
- create_mirror(guid) Guid¶
Create a mirrored selection set from an existing set. Will return empty FGuid if no set created
- create_set_item_from_selection() Guid¶
Create a selection set from current selection. Will return empty FGuid if no set created
- Return type:
- export_as_json_string() str or None¶
Export sets from a string
- Returns:
out_json_string (str):
- Return type:
str or None
- get_active_selection_sets() Array[Guid]¶
Get the current set of active selection sets based upon active actors. This function will set it up also if needed
- get_all_actors() Array[Actor]¶
Get all the actors which are present to be selected by a selection set
- get_item_color(guid) LinearColor or None¶
Get selection set color
- Parameters:
guid (Guid)
- Returns:
out_color (LinearColor):
- Return type:
LinearColor or None
- get_item_name(guid) Text or None¶
Get selection set name
- get_item_row(guid) int32 or None¶
Get selection set row
- Parameters:
guid (Guid)
- Returns:
out_row (int32):
- Return type:
int32 or None
- get_show_and_set_selected_only() bool¶
Whether we are only showing and setting selections on current selections
- Return type:
- select_item(guid, do_mirror, add, toggle, select=True) bool¶
Select from selection set, will select on the active actors
- set_actor_as_active(actor, set_active) bool¶
- Set the AActor as Active or not, so it will or won’t be selected from a selection set. Will return false if it doesn’t match any sets*.
Note if GetShowAndSetSelectedOnly() is true the selected state of the Actor will take precedence over this
- set_item_color(guid, color) bool¶
Set selection set color
- Parameters:
guid (Guid)
color (LinearColor)
- Return type:
- set_show_and_set_selected_only(show_selected_only) None¶
Set whether we are only showing and setting selections on current selections
- Parameters:
show_selected_only (bool)