Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/DynamicMesh > API/Runtime/GeometryCore/DynamicMesh/FDynamicMeshAttributeSet
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicMeshAttributeSet.h |
| Include | #include "DynamicMesh/DynamicMeshAttributeSet.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/DynamicMeshAttributeSet.cpp |
void EnableMatchingAttributes
&40;
const FDynamicMeshAttributeSet & ToMatch,
bool bClearExisting,
bool bDiscardExtraAttributes
&41;
Remarks
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