Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FLocalPlanarSimplify
Description
Test if a given edge collapse would change the mesh shape, mesh triangle group shape, or UVs unacceptably
Test if a given edge collapse would change the mesh shape or UVs unacceptably
| Name | CollapseWouldChangeShapeOrUVs |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Operations/LocalPlanarSimplify.h |
| Include Path | #include "Operations/LocalPlanarSimplify.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Operations/LocalPlanarSimplify.cpp |
static bool CollapseWouldChangeShapeOrUVs
(
const FDynamicMesh3 & Mesh,
const TSet < int > & PathEdgeSet,
double DotTolerance,
int SourceEID,
int32 RemoveV,
const FVector3d & RemoveVPos,
int32 KeepV,
const FVector3d & KeepVPos,
const FVector3d & EdgeDir,
bool bPreserveTriangleGroups,
bool bPreserveUVsForMesh,
bool bPreserveVertexUVs,
bool bPreserveOverlayUVs,
float UVToleranceSq,
bool bPreserveVertexNormals,
float NormalEqualCosThreshold
)