Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/InsetMeshRegion.h |
Include |
#include "Operations/InsetMeshRegion.h" |
class FInsetMeshRegion
FInsetMeshRegion implements local inset of a mesh region. The selected triangles are separated and then stitched back together, creating an new strip of triangles around their border (s). The boundary loop vertices are inset by creating an offset line for each boundary loop edge, and then finding closest-points between the sequential edge pairs.
Complex input regions are handled, eg it can be multiple disconnected components, donut-shaped, etc
Each quad of the border loop is assigned it's own normal and UVs (ie each is a separate UV-island)
Name | Description | ||
---|---|---|---|
|
AllModifiedTriangles |
List of all triangles created/modified by this operation |
|
|
float |
AreaCorrection |
Linear attenuation of area correction factor, valid range [0,1], 0 means ignore area correction entirely |
|
bReproject |
Reproject positions onto input surface |
|
|
bSolveRegionInteriors |
Update positions of any non-boundary vertices in inset regions (via laplacian solve) |
|
|
TUniquePtr< FDy... |
ChangeTracker |
If set, change tracker will be updated based on edit |
|
double |
InsetDistance |
Inset by this distance |
|
InsetRegions |
List of Inset regions/components |
|
|
FDynamicMesh3 &... |
Mesh |
InputsThe mesh that we are modifying |
|
ProjectionTarget |
Projection target |
|
|
float |
Softness |
Determines how strongly laplacian solve constraints are enforced. |
|
Triangles |
The triangle region we are modifying |
|
|
float |
UVScaleFactor |
Quads on the stitch loop are planar-projected and scaled by this amount |
Name | Description | |
---|---|---|
|
FInsetMeshRegion ( |
Name | Description | |
---|---|---|
|
~FInsetMeshRegion() |
Name | Description | ||
---|---|---|---|
|
Apply() |
Apply the Inset operation to the input mesh. |
|
|
ApplyInset ( |
||
|
EOperationVa... |
Validate() |
Name |
Description |
|
---|---|---|
|
FInsetInfo |
Outputs Inset information for a single connected component |