Navigation
API > API/Plugins > API/Plugins/UVEditorTools > API/Plugins/UVEditorTools/Selection
Inheritance Hierarchy
- IUVToolSupportsSelection
- UUVEditorLayoutTool
- UUVEditorRecomputeUVsTool
- UUVEditorTransformTool
- UUVSelectTool
References
| Module | UVEditorTools |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Selection/UVToolSelectionAPI.h |
| Include | #include "Selection/UVToolSelectionAPI.h" |
Syntax
class IUVToolSupportsSelection
Remarks
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.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | A tool that returns false here will have the unset element selections (ie selections of triangles that don't have associated UV's) cleared before its invocation. |