Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMeshAttributeSet
Description
Enable the matching attributes and overlay layers as the ToMatch set, but do not copy any data across. If bClearExisting=true, all existing attributes are cleared, so after the function there is an exact match but any existing attribute data is lost (!) If bClearExisting=false, new attributes are added, but existing attributes and data are preserved If bDiscardExtraAttributes=true and bClearExisting=false, then attributes in the current set but not in ToMatch are discarded, but existing attributes are not cleared/reset
| Name | EnableMatchingAttributes |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshAttributeSet.h |
| Include Path | #include "DynamicMesh/DynamicMeshAttributeSet.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMeshAttributeSet.cpp |
void EnableMatchingAttributes
(
const FDynamicMeshAttributeSet & ToMatch,
bool bClearExisting,
bool bDiscardExtraAttributes
)