Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription
Description
Convert with no shared VertexInstances. A new VertexInstance is created for each triangle vertex (ie corner). However vertex positions are shared and the shared UVs structures are populated.
Note: Don't copy tangents if the resulting MeshDescription corresponds to a StaticMesh with autogenerated tangents in this case the MeshDescription is expected to have empty tangents.
| Name | Convert_NoSharedInstances |
| 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 Convert_NoSharedInstances
(
const FDynamicMesh3 * MeshIn,
FMeshDescription & MeshOut,
bool bCopyTangents
)
Parameters
| Name | Remarks |
|---|---|
| bCopyTangents | should tangent, bitangent overlays exist on the MeshIn, this will use them when producing the MeshDescription MeshOut |