Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh > API/Runtime/GeometryCore/DynamicMesh/Operations > API/Runtime/GeometryCore/DynamicMesh/Operations/FSplitAttributeWelder
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/Operations/SplitAttributeWelder.h |
| Include | #include "DynamicMesh/Operations/SplitAttributeWelder.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/Operations/SplitAttributeWelder.cpp |
static void WeldSplitUnitVectors
(
const int32 ParentVID,
FDynamicMeshNormalOverlay & NormalOverlay,
float DotThreshold,
bool bMergeZeroVectors
)
Remarks
Welds split Normals / Tangents shared by the ParentVID vertex in the ParentMesh based on the angled between the vectors.
Parameters
| Name | Description |
|---|---|
| ParentVID | defines a vertex in the Parent Mesh |
| NormalOverlay | contains potentially split vectors associated with the ParentVID. Assumed to be an overlay of the ParentMesh. |
| DotThreshold | provides a threshold for the dot product between two vectors that should be welded. |
| bMergeZeroVectors | will weld vectors that are too small to normalize. |