Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/OffsetMeshRegion.h |
Include |
#include "Operations/OffsetMeshRegion.h" |
class FOffsetMeshRegion
FOffsetMeshRegion implements local extrusion/offset 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 offset region is then transformed using the OffsetPositionFunc.
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 |
|
|
TUniquePtr< FDy... |
ChangeTracker |
If set, change tracker will be updated based on edit |
|
double |
DefaultOffsetDistance |
If no Offset function is set, we will displace by DefaultOffsetDistance*Normal |
|
FDynamicMesh3 &... |
Mesh |
InputsThe mesh that we are modifying |
|
OffsetPositionFunc |
This function is called to generate the offset vertex position. |
|
|
OffsetRegions |
List of offset regions/components |
|
|
Triangles |
The triangle region we are modifying |
|
|
float |
UVScaleFactor |
Quads on the stitch loop are planar-projected and scaled by this amount |
Name | Description | |
---|---|---|
|
FOffsetMeshRegion ( |
Name | Description | |
---|---|---|
|
~FOffsetMeshRegion() |
Name | Description | ||
---|---|---|---|
|
Apply() |
Apply the Offset operation to the input mesh. |
|
|
ApplyOffset ( |
||
|
EOperationVa... |
Validate() |
Name |
Description |
|
---|---|---|
|
FOffsetInfo |
Outputs Offset information for a single connected component |