FDynamicMeshToMeshDescription::HaveMatchingElementCounts

Checks if element counts match. If false then Update can't be called you must call Convert

Windows
MacOS
Linux

References

Module

MeshConversion

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Public/DynamicMeshToMeshDescription.h

Include

#include "DynamicMeshToMeshDescription.h"

Syntax

static bool HaveMatchingElementCounts
(
    const FDynamicMesh3 * DynamicMesh,
    const FMeshDescription * MeshDescription,
    bool bVerticesOnly,
    bool bAttributesOnly
)

Remarks

Checks if element counts match. If false then Update can't be called you must call Convert

Parameters

Parameter

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss