Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh > API/Runtime/GeometryCore/DynamicMesh/Operations
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/Operations/SplitAttributeWelder.h |
| Include | #include "DynamicMesh/Operations/SplitAttributeWelder.h" |
Syntax
class FSplitAttributeWelder
Remarks
FSplitAttributeWelder can be used to weld split-attributes that share the same vertex in the parent mesh (e.g. split normals)
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | ColorDistSqrdThreshold | Merge threshold used to compare Color Overlay elements Applied as (ColorA - ColorB).SizeSquared() <= ColorDistSqrdThreshold | |
| float | NormalVecDotThreshold | Merge threshold used to compare Normal Overlay vectors. | |
| float | TangentVecDotThreshold | Merge threshold used to compare Tangent (and BiTangent) Overlay vectors. | |
| float | UVDistSqrdThreshold | Merge threshold used to compare UV Overlay elements. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | WeldSplitColors
(
const int32 ParentVID, |
Welds split colors shared by the ParentVID vertex in the ParentMesh. | |
| void | WeldSplitElements
(
FDynamicMesh3& ParentMesh |
Weld split-elements across the entire mesh. | |
| void | WeldSplitElements
(
FDynamicMesh3& ParentMesh, |
Weld split-elements at the ParentVID in each overlay that are "close enough" as defined by the appropriate threshold. | |
| void | WeldSplitUnitVectors
(
const int32 ParentVID, |
Welds split Normals / Tangents shared by the ParentVID vertex in the ParentMesh based on the angled between the vectors. | |
| void | WeldSplitUVs
(
const int32 ParentVID, |
Welds split UVs shared by the ParentVID vertex in the ParentMesh. |
Typedefs
| Name | Description |
|---|---|
| FDynamicMeshColorOverlay | |
| FDynamicMeshNormalOverlay | |
| FDynamicMeshUVOverlay |