Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription
Description
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!
| Name | UpdateVertexColors |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshConversion/Public/DynamicMeshToMeshDescription.h |
| Include Path | #include "DynamicMeshToMeshDescription.h" |
| Source | /Engine/Source/Runtime/MeshConversion/Private/DynamicMeshToMeshDescription.cpp |
void UpdateVertexColors
(
const FDynamicMesh3 * MeshIn,
FMeshDescription & MeshOut
)