Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription
References
| Module | MeshConversion |
| Header | /Engine/Source/Runtime/MeshConversion/Public/DynamicMeshToMeshDescription.h |
| Include | #include "DynamicMeshToMeshDescription.h" |
| Source | /Engine/Source/Runtime/MeshConversion/Private/DynamicMeshToMeshDescription.cpp |
void UpdateVertexColors
(
const FDynamicMesh3 * MeshIn,
FMeshDescription & MeshOut
)
Remarks
Update only vertex colors, assuming the mesh topology has not changed. Does not touch positions or other attributes. NOTE: assumes the order of triangles in the MeshIn correspond to the ordering you'd get by iterating over triangles, on MeshOut This matches conversion currently used in MeshDescriptionToDynamicMesh.cpp, but if that changes we will need to change this function to match!