Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/GeometryCollection > API/Runtime/Chaos/GeometryCollection/FManagedArrayCollection > API/Runtime/Chaos/GeometryCollection/FManagedArrayCollection/CopyMatchingAttr-
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/ManagedArrayCollection.h |
| Include | #include "GeometryCollection/ManagedArrayCollection.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/GeometryCollection/ManagedArrayCollection.cpp |
void CopyMatchingAttributesFrom
(
const FManagedArrayCollection & FromCollection,
const TArrayView < const FAttributeAndGroupId > SkipList
)
Remarks
Copy attributes that match the input collection. This is a utility to easily sync collections This version is recommend to be used as it is more performant overall
- it only resize the necessary groups
- it takes a array view for the skip list
- it has a more contained logic that reduces the number of lookups for attributes in the maps