ULatticeDeformerTool

Deform a mesh using a regular hexahedral lattice

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/LatticeDeformerTool.h

Include

#include "LatticeDeformerTool.h"

Syntax

UCLASS()
class ULatticeDeformerTool : public USingleSelectionMeshEditingTool

Remarks

Deform a mesh using a regular hexahedral lattice

Variables

Name Description

Protected variable UProperty

bool

 

bLatticeDeformed

Protected variable

bool

 

bShouldRebuild

Protected variable

TMap< int32, FV...

 

ConstrainedLatticePoints

Protected variable UProperty

TObjectPtr< ULa...

 

ControlPointsMechanic

Protected variable

int32

 

CurrentChangeStamp

Protected variable

TUniquePtr< UE:...

 

DeformationSolver

Protected variable

TSharedPtr< UE:...

 

Lattice

Protected variable

TPimplPtr< UE::...

 

LatticeGraph

Protected variable

TSharedPtr< UE:...

 

OriginalMesh

Input mesh.

Protected variable

ELatticeDeforme...

 

PendingAction

Protected variable UProperty

TObjectPtr< UMe...

 

Preview

Protected variable UProperty

TObjectPtr< ULa...

 

Settings

Destructors

Name Description

Public function Virtual

~ULatticeDeformerTool()

Functions

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

CanAccept()

Public function Virtual

void

 

DrawHUD

(
    FCanvas* Canvas,
    IToolsContextRenderAPI* Render...
)

Allow the Tool to do any custom screen space drawing

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

 

Render

(
    IToolsContextRenderAPI* Render...
)

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

Public function Virtual

void

 

Setup()

Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool