Navigation
API > API/Plugins > API/Plugins/UVEditorTools > API/Plugins/UVEditorTools/Selection
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractionMechanic
- UUVToolSelectionHighlightMechanic
References
| Module | UVEditorTools |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Selection/UVToolSelectionHighlightMechanic.h |
| Include | #include "Selection/UVToolSelectionHighlightMechanic.h" |
Syntax
UCLASS&40;&41;
class UUVToolSelectionHighlightMechanic : public UInteractionMechanic
Remarks
Mechanic for highlighting mesh elements (usually selection) in the UV editor.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPairedEdgeHighlightsEnabled | ||
| TObjectPtr< APreviewGeometryActor > | LivePreviewGeometryActor | ||
| TWeakObjectPtr< UBasic3DLineSetComponent > | LivePreviewLineSet | ||
| TWeakObjectPtr< UBasic3DPointSetComponent > | LivePreviewPointSet | ||
| TWeakObjectPtr< UBasic2DLineSetComponent > | SewEdgePairingLeftLineSet | ||
| TWeakObjectPtr< UBasic2DLineSetComponent > | SewEdgePairingRightLineSet | ||
| TWeakObjectPtr< UBasic2DLineSetComponent > | SewEdgeUnselectedPairingLineSet | ||
| TArray< TPair< TWeakObjectPtr< UUVEditorToolMeshInput >, TArray< TPair< int32, int32 > > > > | StaticPairedEdgeVidsPerMesh | Per mesh, gives a list of endpoint vid pairs for the unselected edges that are part of edge pairs, for rebuilding when necessary. | |
| TObjectPtr< UMaterialInstanceDynamic > | TriangleSetMaterial | ||
| TObjectPtr< APreviewGeometryActor > | UnwrapGeometryActor | ||
| TWeakObjectPtr< UBasic2DLineSetComponent > | UnwrapLineSet | ||
| TWeakObjectPtr< UBasic2DLineSetComponent > | UnwrapPairedEdgeLineSet | ||
| TWeakObjectPtr< UBasic2DPointSetComponent > | UnwrapPointSet | ||
| TObjectPtr< APreviewGeometryActor > | UnwrapStationaryGeometryActor | ||
| TWeakObjectPtr< UBasic2DTriangleSetComponent > | UnwrapTriangleSet |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AppendAppliedHighlight
(
const TArray< FUVToolSelection >& AppliedSelections, |
Adds additional highlighting elements based on selection information. | |
| FTransform | Get the current transform of the unwrap highlight. | ||
| void | Initialize
(
UWorld* UnwrapWorld, |
||
| void | RebuildAppliedHighlightFromUnwrapSelection
(
const TArray< FUVToolSelection >& UnwrapSelections, |
Convert the unwrap selections to elements in the applied mesh, then highlight those there. | |
| void | RebuildUnwrapHighlight
(
const TArray< FUVToolSelection >& Selections, |
Rebuilds the unwrap mesh highlights. | |
| void | SetEnablePairedEdgeHighlights
(
bool bEnable |
When true, edge selections also highlight the edge pairings (i.e. edges that could weld with the selected edges). | |
| void | SetIsVisible
(
bool bUnwrapHighlightVisible, |
||
| void | SetUnwrapHighlightTransform
(
const FTransform& Transform, |
Set the transform of the unwrap mesh highlights without rebuilding them, likely to follow the translation of the underlying elements via gizmo. |
Overridden from UInteractionMechanic
| Type | Name | Description | |
|---|---|---|---|
| void | Shutdown () |
Called to clean up the InteractionMechanic |
Typedefs
| Name | Description |
|---|---|
| FUVToolSelection |