Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/TToDynamicMesh
References
| Module | MeshConversion |
| Header | /Engine/Source/Runtime/MeshConversion/Public/ToDynamicMesh.h |
| Include | #include "ToDynamicMesh.h" |
template<typename AttrType>
void PopulateOverlayFromWedgeAttr
(
typename TOverlayTraits < AttrType >::OverlayType * Overlay,
TFunctionRef < AttrType &WedgeID)> WedgeAttrs,
TFunctionRef < void &SrcTriID, SrcWedgeIDType &WID0, SrcWedgeIDType &WID1, SrcWedgeIDType &WID2)> TriToWedges,
bool bWeldIdenticalAttrs
)
Remarks
Access the attributes in the Source Mesh on a per-wedge granularity (each corner of each triangle is a wedge), and weld them based on strict equality when creating the overlay.