UEditUVIslandsTool

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/EditUVIslandsTool.h

Include

#include "EditUVIslandsTool.h"

Syntax

UCLASS()
class UEditUVIslandsTool :
    public UMeshSurfacePointTool,
    public IClickBehaviorTarget

Variables

Name Description

Protected variable

TArray< FEditIs...

 

ActiveIslands

Protected variable

FMeshVertexChan...

 

ActiveVertexChange

Protected variable

bool

 

bInDrag

True for the duration of UI click+drag.

Protected variable

bool

 

bSelectionStateDirty

Protected variable

bool

 

bSpatialDirty

Protected variable

FViewCameraStat...

 

CameraState

Public variable UProperty

UMaterialInstan...

 

CheckerMaterial

Protected variable UProperty

USimpleDynamicM...

 

DynamicMeshComponent

Protected variable

FFrame3d

 

InitialGizmoFrame

Protected variable

FVector3d

 

InitialGizmoScale

Public variable UProperty

UExistingMeshMa...

 

MaterialSettings

Protected variable

FDynamicMeshAAB...

 

MeshSpatial

Protected variable UProperty

UMultiTransform...

 

MultiTransformer

Protected variable

FDelegateHandle

 

OnDynamicMeshComponentChangedHandle

Protected variable UProperty

UPolygonSelecti...

 

SelectionMechanic

Protected variable

FUVGroupTopolog...

 

Topology

Protected variable

double

 

UVTranslateScale

Protected variable

FTransform3d

 

WorldTransform

Camera state at last render

Constructors

Name Description

Public function

UEditUVIslandsTool()

Functions

Overridden from UMeshSurfacePointTool

Name Description

Public function Virtual

bool

 

HitTest

(
    const FRay& Ray,
    FHitResult& OutHit
)

UMeshSurfacePointTool API.

Public function Virtual

void

 

OnBeginDrag

(
    const FRay& Ray
)

This function is called when the user begins a click-drag-release interaction

Public function Virtual

void

 

OnEndDrag

(
    const FRay& Ray
)

This function is called when the user releases the button driving a click-drag-release interaction

Public function Virtual

void

 

OnUpdateDrag

(
    const FRay& Ray
)

This function is called each frame that the user is in a click-drag-release interaction

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

 

RegisterActions

(
    FInteractiveToolActionSet& ActionS...
)

Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction.

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

Allow the Tool to do any custom drawing (ie via PDI/RHI)

Public function Virtual

void

 

Setup()

Register InputBehaviors, etc

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool

Overridden from IClickDragBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

CanBeginClickDragSequence

(
    const FInputDeviceRay& PressPos
)

IClickDragBehaviorTarget API.

Overridden from IHoverBehaviorTarget

Name Description

Public function Virtual

void

 

OnEndHover()

Terminate active hover sequence

Public function Virtual

bool

 

OnUpdateHover

(
    const FInputDeviceRay& DevicePos
)

Update active hover sequence with new input position

Overridden from IClickBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

IsHitByClick

(
    const FInputDeviceRay& ClickPos
)

IClickBehaviorTarget API.

Public function Virtual

void

 

OnClicked

(
    const FInputDeviceRay& ClickPos
)

Notify Target that click ocurred

Classes

Name

Description

Protected struct

FEditIsland

Data for current drag