Navigation
API > API/Runtime > API/Runtime/MeshConversion > API/Runtime/MeshConversion/FDynamicMeshToMeshDescription
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HaveMatchingElementCounts
(
const FDynamicMesh3* DynamicMesh, |
Checks if element counts match. | DynamicMeshToMeshDescription.h | |
static bool HaveMatchingElementCounts
(
const FDynamicMesh3* DynamicMesh, |
Checks if element counts match. If false then Update can't be called you must call Convert | DynamicMeshToMeshDescription.h |
HaveMatchingElementCounts(const FDynamicMesh3 , const FMeshDescription )
Description
Checks if element counts match. If false then Update can't be called you must call Convert Result is based on the current ConversionOptions (e.g. if you are only updating vertices, mismatched triangles are ok)
| Name | HaveMatchingElementCounts |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshConversion/Public/DynamicMeshToMeshDescription.h |
| Include Path | #include "DynamicMeshToMeshDescription.h" |
| Source | /Engine/Source/Runtime/MeshConversion/Private/DynamicMeshToMeshDescription.cpp |
bool HaveMatchingElementCounts
(
const FDynamicMesh3 * DynamicMesh,
const FMeshDescription * MeshDescription
)
Parameters
| Name | Remarks |
|---|---|
| DynamicMesh | The dynamic mesh with updated vertices or attributes |
| MeshDescription | The corresponding mesh description |
HaveMatchingElementCounts(const FDynamicMesh3 , const FMeshDescription , bool, bool)
Description
Checks if element counts match. If false then Update can't be called you must call Convert
| Name | HaveMatchingElementCounts |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshConversion/Public/DynamicMeshToMeshDescription.h |
| Include Path | #include "DynamicMeshToMeshDescription.h" |
| Source | /Engine/Source/Runtime/MeshConversion/Private/DynamicMeshToMeshDescription.cpp |
static bool HaveMatchingElementCounts
(
const FDynamicMesh3 * DynamicMesh,
const FMeshDescription * MeshDescription,
bool bVerticesOnly,
bool bAttributesOnly
)
Parameters
| Name | Remarks |
|---|---|
| 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) |