Navigation
API > API/Plugins > API/Plugins/UVEditorTools
If a tool does not inherit from IUVToolSupportsSelection, then selection will automatically be cleared before the tool invocation via an undoable transaction, to avoid a state where the selection refers to invalid items after tool completion. If a tool does inherit from IUVToolSupportsSelection, then the UV editor will not clear the selection before invocation, allowing the tool to use it. However, the tool is expected to properly deal with selection itself and avoid an invalid state (including avoiding incorrect undo/redo selection event ordering.
| Name | IUVToolSupportsSelection |
| Type | class |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Selection/UVToolSelectionAPI.h |
| Include Path | #include "Selection/UVToolSelectionAPI.h" |
Syntax
class IUVToolSupportsSelection