Navigation
API > API/Plugins > API/Plugins/ModelingOperators > API/Plugins/ModelingOperators/DeformationOps
Inheritance Hierarchy
- FDynamicMeshOperator
- FSimpleMeshProcessingBaseOp
- FMeshOffsetBaseOp
- FIterativeOffsetMeshOp
- FLaplacianOffsetMeshOp
References
| Module | ModelingOperators |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingOperators/Public/DeformationOps/MeshOffsetOps.h |
| Include | #include "DeformationOps/MeshOffsetOps.h" |
Syntax
class FMeshOffsetBaseOp : public UE::Geometry::FSimpleMeshProcessingBaseOp
Remarks
Base class for Mesh Offset operations (ie displacement along some kind of normal) Optionally duplicates input mesh and joins the two together, either by welding along shared border or creating quad-strip join.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FMeshNormals > | BaseNormals | ||
| bool | bCreateShell | ||
| bool | bFixedBoundary | ||
| FMeshBoundaryCache | BoundaryCache | ||
| TSharedPtr< UE::Geometry::FMeshBoundaryLoops > | BoundaryLoops | ||
| bool | bUseWeightMap | ||
| FInterval1d | OffsetRange | Positive range of offset distances (default offset will be max value unless there is a weightmap) | |
| double | OffsetSign | Sign of offset, should be +1 or -1 | |
| TSharedPtr< UE::Geometry::FIndexedWeightMap1f > | WeightMap |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshOffsetBaseOp
(
const FDynamicMesh3* Mesh |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CalculateOffset
(
FProgressCancel* Progress |
Subclasses must implement this function, it should update ResultMesh | |
| double | GetOffsetDistance
(
int32 VertexID, |
Overridden from FDynamicMeshOperator
| Type | Name | Description | |
|---|---|---|---|
| void | CalculateResult
(
FProgressCancel* Progress |
Calculate the result of the operator. This will populate the internal Mesh and Transform. |