UUVEditorSeamTool

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UVEditorTools

Header

/Engine/Plugins/Experimental/UVEditor/Source/UVEditorTools/Public/UVEditorSeamTool.h

Include

#include "UVEditorSeamTool.h"

Syntax

UCLASS()
class UUVEditorSeamTool :
    public UInteractiveTool,
    public IInteractiveToolNestedAcceptCancelAPI

Variables

Name Description

Protected variable

bool

 

bClickWasInUnwrap

Protected variable

bool

 

bCompletionColorOverride

When true, the entire path is changed to the "completion" color to show that the next click will complete the path.

Protected variable

bool

 

bHoverVidIsFromUnwrap

Protected variable

bool

 

bLastHoverVidWasFromUnwrap

Protected variable

int32

 

ClickedMeshIndex

Protected variable

int32

 

ClickedVid

Used to remember click info to apply on tick.

Protected variable UProperty

TObjectPtr< UUV...

 

EmitChangeAPI

Protected variable

int32

 

HoverMeshIndex

Protected variable

int32

 

HoverVid

Used to remember hover info to apply on tick.

Protected variable

UE::Geometry::U...

 

InputTargetAnalytics

Analytics

Protected variable

int32

 

LastHoverMeshIndex

Protected variable

int32

 

LastHoverVid

Protected variable

int32

 

LastLockedAppliedVid

Protected variable UProperty

TObjectPtr< UUV...

 

LivePreviewAPI

Protected variable UProperty

TObjectPtr< UIn...

 

LivePreviewBehaviorSet

Protected variable UProperty

TObjectPtr< ULo...

 

LivePreviewBehaviorSource

Protected variable

FViewCameraStat...

 

LivePreviewCameraState

Protected variable UProperty

TObjectPtr< UPr...

 

LivePreviewGeometry

Protected variable

TWeakObjectPtr<...

 

LivePreviewInputRouter

Protected variable

TArray< int32 >

 

LockedPath

Protected variable

TArray< int32 >

 

PreviewPath

Protected variable

int32

 

SeamStartAppliedVid

Used to know when to end the seam.

Protected variable

TArray< TShared...

 

Spatials2D

Protected variable

TArray< TShared...

 

Spatials3D

Protected variable

EState

 

State

Protected variable UProperty

TArray< TObject...

 

Targets

Protected variable

FDateTime

 

ToolStartTimeAnalytics

Protected variable UProperty

TObjectPtr< UPr...

 

UnwrapGeometry

Functions

Name Description

Protected function

void

 

ApplyClick()

Protected function

void

 

ApplySeam

(
    const TArray< int32 >& AppliedVids...
)

Clears LockedAppliedVids, but builds seam off of AppliedVidsIn

Protected function

void

 

ClearHover

(
    bool bClearHoverInfo
)

Protected function

void

 

ClearLockedPath

(
    bool bEmitChange
)

Public function

void

 

EditLockedPath

(
    TUniqueFunction< void< int32...,
    int32 MeshIndex
)

For use by undo/redo.

Protected function

int32

 

Get2DHitVertex

(
    const FRay& WorldRayIn,
    int32* IndexOf2DSpatialOut
)

Protected function

int32

 

Get3DHitVertex

(
    const FRay& WorldRayIn,
    int32* IndexOf3DSpatialOut
)

Protected function

void

 

OnMeshVertexClicked

(
    int32 Vid,
    int32 IndexOfMesh,
    bool bVidIsFromUnwrap
)

Protected function

void

 

OnMeshVertexHovered

(
    int32 Vid,
    int32 IndexOfMesh,
    bool bVidIsFromUnwrap
)

Protected function

void

 

ReconstructExistingSeamsVisualization()

Protected function

void

 

ReconstructLockedPathVisualization()

Protected function

void

 

RecordAnalytics()

Protected function

void

 

ResetPreviewColors()

Public function Virtual

void

 

SetTargets

(
    const TArray< TObjectPtr< UUVEditor...
)

Protected function

void

 

UpdateHover()

Protected function

void

 

UpdateToolMessage()

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

Public function Virtual

void

 

OnTick

(
    float DeltaTime
)

Action support/system

Public function Virtual

void

 

Setup()

UInteractiveTool.

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool

Overridden from IInteractiveToolNestedAcceptCancelAPI

Name Description

Public function Virtual

bool

 

CanCurrentlyNestedAccept()

Public function Virtual

bool

 

CanCurrentlyNestedCancel()

Public function Virtual

bool

 

ExecuteNestedAcceptCommand()

Called by Editor levels to tell the implementor (eg Tool) to execute a nested Accept action

Public function Virtual

bool

 

ExecuteNestedCancelCommand()

Called by Editor levels to tell the implementor (eg Tool) to execute a nested Cancel action

Public function Virtual

bool

 

SupportsNestedAcceptCommand()

Public function Virtual

bool

 

SupportsNestedCancelCommand()

IInteractiveToolNestedAcceptCancelAPI.

Enums

Name

Description

Protected enum

EState

Typedefs

Name

Description

FDynamicMeshAABBTree3