Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Public/DynamicMeshToMeshDescription.h |
Include |
#include "DynamicMeshToMeshDescription.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Private/DynamicMeshToMeshDescription.cpp |
void UpdateAttributes
(
const FDynamicMesh3 * MeshIn,
FMeshDescription & MeshOut,
bool bUpdateNormals,
bool bUpdateUVs
)
Update only attributes, assuming the mesh topology has not changed. Does not touch positions.
assumes the order of triangles in the MeshIn correspond to the ordering you'd get by iterating over polygons, then tris-in-polygons, on MeshOut This matches conversion currently used in MeshDescriptionToDynamicMesh.cpp, but if that changes we will need to change this function to match!