Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription
Description
Default conversion of DynamicMesh to MeshDescription. Calls functions below depending on mesh state
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 |
| 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
(
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 |