Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- USingleSelectionTool
- USingleSelectionMeshEditingTool
- ULatticeDeformerTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/LatticeDeformerTool.h |
| Include | #include "LatticeDeformerTool.h" |
Syntax
UCLASS&40;&41;
class ULatticeDeformerTool : public USingleSelectionMeshEditingTool
Remarks
Deform a mesh using a regular hexahedral lattice
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLatticeDeformed | ||
| bool | bShouldRebuild | ||
| TMap< int32, FVector3d > | ConstrainedLatticePoints | ||
| TObjectPtr< ULatticeControlPointsMechanic > | ControlPointsMechanic | ||
| int32 | CurrentChangeStamp | ||
| TUniquePtr< UE::Solvers::IConstrainedMeshSolver > | DeformationSolver | ||
| TSharedPtr< UE::Geometry::FFFDLattice, ESPMode::ThreadSafe > | Lattice | ||
| TPimplPtr< UE::Geometry::FDynamicGraph3d > | LatticeGraph | ||
| TSharedPtr< UE::Geometry::FDynamicMesh3, ESPMode::ThreadSafe > | OriginalMesh | Input mesh. | |
| ELatticeDeformerToolAction | PendingAction | ||
| TObjectPtr< UMeshOpPreviewWithBackgroundCompute > | Preview | ||
| TObjectPtr< ULatticeDeformerToolProperties > | Settings |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyAction
(
ELatticeDeformerToolAction Action |
||
| void | |||
| void | |||
| UE::Geometry::FVector3i | |||
| void | InitializeLattice
(
TArray< FVector3d >& OutLatticePoints, |
Create and store an FFFDLattice. Pass out the lattice's positions and edges. | |
| void | |||
| void | RequestAction
(
ELatticeDeformerToolAction Action |
||
| void | |||
| void | |||
| void | StartPreview () |
||
| void |
Overridden from USingleSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| void | DrawHUD
(
FCanvas* Canvas, |
Allow the Tool to do any custom screen space drawing | |
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |