Navigation
API > API/Plugins > API/Plugins/UVEditorTools
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- UUVEditorSeamTool
References
| Module | UVEditorTools |
| Header | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/UVEditorSeamTool.h |
| Include | #include "UVEditorSeamTool.h" |
Syntax
UCLASS&40;&41;
class UUVEditorSeamTool :
public UInteractiveTool,
public IInteractiveToolNestedAcceptCancelAPI
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bClickWasInUnwrap | ||
| bool | bCompletionColorOverride | When true, the entire path is changed to the "completion" color to show that the next click will complete the path. | |
| bool | bHoverVidIsFromUnwrap | ||
| bool | bLastHoverVidWasFromUnwrap | ||
| bool | bModeIsTemporarilyToggled | ||
| int32 | ClickedMeshIndex | ||
| int32 | ClickedVid | Used to remember click info to apply on tick. | |
| TObjectPtr< UUVToolEmitChangeAPI > | EmitChangeAPI | ||
| int32 | HoverMeshIndex | ||
| int32 | HoverVid | Used to remember hover info to apply on tick. | |
| UE::Geometry::UVEditorAnalytics::FTargetAnalytics | InputTargetAnalytics | Analytics | |
| int32 | LastHoverMeshIndex | ||
| int32 | LastHoverVid | ||
| int32 | LastLockedAppliedVid | ||
| TObjectPtr< UUVToolLivePreviewAPI > | LivePreviewAPI | ||
| TObjectPtr< UInputBehaviorSet > | LivePreviewBehaviorSet | ||
| TObjectPtr< ULocalInputBehaviorSource > | LivePreviewBehaviorSource | ||
| FViewCameraState | LivePreviewCameraState | ||
| TObjectPtr< UPreviewGeometry > | LivePreviewGeometry | ||
| TWeakObjectPtr< UInputRouter > | LivePreviewInputRouter | ||
| TArray< int32 > | LockedPath | ||
| TArray< int32 > | PreviewPath | ||
| int32 | SeamStartAppliedVid | Used to know when to end the seam. | |
| TObjectPtr< UUVEditorSeamToolProperties > | Settings | ||
| TArray< TSharedPtr< FDynamicMeshAABBTree3 > > | Spatials2D | ||
| TArray< TSharedPtr< FDynamicMeshAABBTree3 > > | Spatials3D | ||
| EState | State | ||
| TArray< TObjectPtr< UUVEditorToolMeshInput > > | Targets | ||
| int32 | TemporaryModeToggleModifierID | ||
| FDateTime | ToolStartTimeAnalytics | ||
| TObjectPtr< UPreviewGeometry > | UnwrapGeometry |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyClick () |
||
| void | Clears LockedAppliedVids, but builds seam off of AppliedVidsIn | ||
| void | ClearHover
(
bool bClearHoverInfo |
||
| void | ClearLockedPath
(
bool bEmitChange |
||
| void | EditLockedPath
(
TUniqueFunction< void(TArray< int32 >&LockedPathInOut)> EditFunction, |
For use by undo/redo. | |
| int32 | Get2DHitVertex
(
const FRay& WorldRayIn, |
||
| int32 | Get3DHitVertex
(
const FRay& WorldRayIn, |
||
| FColor | |||
| FColor | |||
| bool | IsInJoinMode () |
||
| void | OnMeshVertexClicked
(
int32 Vid, |
||
| void | OnMeshVertexHovered
(
int32 Vid, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | SetTargets
(
const TArray< TObjectPtr< UUVEditorToolMeshInput >>& TargetsIn |
||
| void | UpdateHover () |
||
| void |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | Setup () |
UInteractiveTool. | |
| void | Shutdown
(
EToolShutdownType ShutdownType |
Called by ToolManager to shut down the Tool |
Overridden from IInteractiveToolNestedAcceptCancelAPI
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | |||
| bool | Called by Editor levels to tell the implementor (eg Tool) to execute a nested Accept action | ||
| bool | Called by Editor levels to tell the implementor (eg Tool) to execute a nested Cancel action | ||
| bool | |||
| bool | IInteractiveToolNestedAcceptCancelAPI. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EState |
Typedefs
| Name | Description |
|---|---|
| FDynamicMeshAABBTree3 |