Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController
- IAnimationDataController::UpdateAttributesFromSkeleton()
- UAnimDataController::UpdateAttributesFromSkeleton()
References
| Module | AnimationDataController |
| Header | /Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h |
| Include | #include "AnimDataController.h" |
| Source | /Engine/Source/Developer/AnimationDataController/Private/AnimDataController.cpp |
virtual void UpdateAttributesFromSkeleton
&40;
const USkeleton &42; Skeleton,
bool bShouldTransact
&41;
Remarks
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
Parameters
| Name | Description |
|---|---|
| Skeleton | Skeleton to retrieve the bone information from |
| bShouldTransact | Whether or not any undo-redo changes should be generated |