Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription/HaveMatchingElem-
References
| Module | MeshConversion |
| Header | /Engine/Source/Runtime/MeshConversion/Public/DynamicMeshToMeshDescription.h |
| Include | #include "DynamicMeshToMeshDescription.h" |
| Source | /Engine/Source/Runtime/MeshConversion/Private/DynamicMeshToMeshDescription.cpp |
static bool HaveMatchingElementCounts
&40;
const FDynamicMesh3 &42; DynamicMesh,
const FMeshDescription &42; MeshDescription,
bool bVerticesOnly,
bool bAttributesOnly
&41;
Remarks
Checks if element counts match. If false then Update can't be called you must call Convert
Parameters
| Name | Description |
|---|---|
| DynamicMesh | The dynamic mesh with updated vertices or attributes |
| MeshDescription | The corresponding mesh description |
| bVerticesOnly | If true, only check vertex counts match |
| bAttributesOnly | If true, only check what needs to be checked for UpdateAttributes (will check vertices or triangles depending on whether attributes are per vertex or in overlays) |