/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/OffsetMeshRegion.h
Each quad of the border loop is assigned it's own normal and UVs (ie each is a separate UV-island)
class FOffsetMeshRegion
TArray< int32 >
AllModifiedAndNewTriangles
List of all triangles created/modified by this operation
bool
bGroupPerSubdivision
If true, each subdivision level gets a new group This parameter is only supported inEVersion::Version1and later
bool
bInferMaterialID
If true, Material IDs around the border of the extrude area are propagated "down" the extrusion tube This parameter is only supported inEVersion::Version1and later
bool
bIsPositiveOffset
When bOffsetFullComponentsAsSolids is true and the extrusion applied by OffsetPositionFunc is negative, then fully-connected components need to be turned inside-out.
bool
bOffsetFullComponentsAsSolids
If a sub-region of Triangles is a full connected component, offset into a solid instead of leaving a shell
bool
bSingleGroupPerArea
If true, each extruded area gets a single new group, instead of remapping the input groups This parameter is only supported inEVersion::Version1and later
bool
bUVIslandPerGroup
If true, new UV island is assigned for each group in stitch region.
double
CreaseAngleThresholdDeg
Split the extrude "tube" into separate groups based on the opening angle between quads.
double
DefaultOffsetDistance
Used in the default OffsetPositionFunc.
EVertexExtrusio...
ExtrusionVectorType
Determines the type of vector passed in per-vertex to OffsetPositionFunc
TFunction< bool...
LoopEdgesShouldHaveSameGroup
When stitching the extruded portion to the source loop, this determines the grouping of the side quads by passing in successive Eids in the original loop.
double
MaxScaleForAdjustingTriNormalsOffset
When using SelectionTriNormalsAngleWeightedAdjusted to keep triangles parallel, clamp the offset scale to at most this factor
FDynamicMesh3&...
Mesh
InputsThe mesh that we are modifying
int32
NumSubdivisions
Number of subdivisions along the length of the "tubes" used to stitch the offset regions.
TFunction< FVec...
OffsetPositionFunc
OffsetPositionFunc function is called to generate the offset vertex position.
TArray<FOffset...
OffsetRegions
List of offset regions/components
int
SetMaterialID
Constant Material ID to set along the extrusion tubes This parameter is only supported inEVersion::Version1and later
TArray< int32 >
Triangles
The triangle region we are modifying
EVersion
UseVersion
Version of Offset operation being used. Defaults to Current, ie most recent version
float
UVScaleFactor
Quads on the stitch loop are planar-projected and scaled by this amount