Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Removes any bone attribute for which the name was not found in the provided skeleton. Broadcasts a EAnimDataModelNotifyType::AttributeRemoved for each attribute which was not found in the skeleton, wrapped within BracketOpened/BracketClosed notifies. Updates any bone attribute for which the bone index is different in the provided skeleton. Broadcasts a EAnimDataModelNotifyType::AttributeAdded and EAnimDataModelNotifyType::AttributeRemove for each attribute which was remapped
| Name | UpdateAttributesFromSkeleton |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include Path | #include "Animation/AnimData/IAnimationDataController.h" |
void UpdateAttributesFromSkeleton
(
const USkeleton * Skeleton,
bool bShouldTransact
)
Parameters
| Name | Remarks |
|---|---|
| Skeleton | Skeleton to retrieve the bone information from |
| bShouldTransact | Whether or not any undo-redo changes should be generated |