unreal.TypedElementCommonActions
¶
- class unreal.TypedElementCommonActions(outer=None, name='None')¶
Bases:
unreal.Object
A utility to handle higher-level common actions, but default via UTypedElementWorldInterface, but asset editors can customize this behavior via FTypedElementCommonActionsCustomization.
C++ Source:
Module: Engine
File: TypedElementCommonActions.h
- delete_normalized_elements(element_list, world, selection_set, deletion_options) bool ¶
Delete any elements from the given list that can be deleted. note: This list should have been pre-normalized via UTypedElementSelectionSet::GetNormalizedSelection or UTypedElementSelectionSet::GetNormalizedElementList.
- Parameters
element_list (TypedElementList) –
world (World) –
selection_set (TypedElementSelectionSet) –
deletion_options (TypedElementDeletionOptions) –
- Return type
- delete_selected_elements(selection_set, world, deletion_options) bool ¶
Delete any elements from the given selection set that can be deleted. note: Internally this just calls DeleteNormalizedElements on the result of UTypedElementSelectionSet::GetNormalizedSelection.
- Parameters
selection_set (TypedElementSelectionSet) –
world (World) –
deletion_options (TypedElementDeletionOptions) –
- Return type
- duplicate_normalized_elements(element_list, world, location_offset)¶
Duplicate any elements from the given list that can be duplicated. note: This list should have been pre-normalized via UTypedElementSelectionSet::GetNormalizedSelection or UTypedElementSelectionSet::GetNormalizedElementList.
- Parameters
element_list (TypedElementList) –
world (World) –
location_offset (Vector) –
- Return type
- duplicate_selected_elements(selection_set, world, location_offset)¶
Duplicate any elements from the given selection set that can be duplicated. note: Internally this just calls DuplicateNormalizedElements on the result of UTypedElementSelectionSet::GetNormalizedSelection.
- Parameters
selection_set (TypedElementSelectionSet) –
world (World) –
location_offset (Vector) –
- Return type