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 CopyBoneAttributesWithRemapping
(
const FDynamicMeshAttributeSet & Copy,
const TMap < FName , FName > & BoneHierarchy
)
Remarks
Copy bone attributes from the given attribute set to this attribute set, removing any values that were there before, using the given bone hierarchy map to control which bones are copied, and how parent bone indices should be remapped.
Parameters
| Name | Description |
|---|---|
| Copy | The attribute set to copy from. |
| BoneHierarchy | The hierarchy to use to copy. The key is the bone name to copy and value is the new parent name to assign to it upon copy. The order of the resulting values is the same as in the Copy. A parent name of NAME_None indicates that the bone is a root bone and will have a parent index of INDEX_NONE. If a parent name is not in the list of bones to copy, then that bone's parent index will also be set to INDEX_NONE. |