Navigation
API > API/Plugins > API/Plugins/UVEditorTools
Mechanic for highlighting mesh elements (usually selection) in the UV editor.
| Name | UUVToolSelectionHighlightMechanic |
| Type | class |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Selection/UVToolSelectionHighlightMechanic.h |
| Include Path | #include "Selection/UVToolSelectionHighlightMechanic.h" |
Syntax
UCLASS (MinimalAPI)
class UUVToolSelectionHighlightMechanic : public UInteractionMechanic
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractionMechanic → UUVToolSelectionHighlightMechanic
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FUVToolSelection | UE::Geometry::FUVToolSelection | Selection/UVToolSelectionHighlightMechanic.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendAppliedHighlight
(
const TArray< FUVToolSelection >& AppliedSelections, |
Adds additional highlighting elements based on selection information. | Selection/UVToolSelectionHighlightMechanic.h | |
FTransform GetUnwrapHighlightTransform() |
Get the current transform of the unwrap highlight. | Selection/UVToolSelectionHighlightMechanic.h | |
void Initialize
(
UWorld* UnwrapWorld, |
Selection/UVToolSelectionHighlightMechanic.h | ||
void RebuildAppliedHighlightFromUnwrapSelection
(
const TArray< FUVToolSelection >& UnwrapSelections, |
Convert the unwrap selections to elements in the applied mesh, then highlight those there. | Selection/UVToolSelectionHighlightMechanic.h | |
void RebuildUnwrapHighlight
(
const TArray< FUVToolSelection >& Selections, |
Rebuilds the unwrap mesh highlights. | Selection/UVToolSelectionHighlightMechanic.h | |
void SetColor
(
const FColor Color |
Directly set the Color property of the selection line and point set. | Selection/UVToolSelectionHighlightMechanic.h | |
void SetEnablePairedEdgeHighlights
(
bool bEnable |
When true, edge selections also highlight the edge pairings (i.e. edges that could weld with the selected edges). | Selection/UVToolSelectionHighlightMechanic.h | |
void SetIsVisible
(
bool bUnwrapHighlightVisible, |
Selection/UVToolSelectionHighlightMechanic.h | ||
void SetLineThickness
(
const float LineSize |
Directly set the Size/Thickness property of the selection line set. | Selection/UVToolSelectionHighlightMechanic.h | |
void SetPointSize
(
const float PointSize |
Directly set the Size property of the selection point set. | Selection/UVToolSelectionHighlightMechanic.h | |
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. | Selection/UVToolSelectionHighlightMechanic.h |
Overridden from UInteractionMechanic
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Shutdown() |
Selection/UVToolSelectionHighlightMechanic.h |