Navigation
Unreal Engine C++ API Reference > Developer > AnimationDataController > UAnimDataController
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 ( const [USkeleton](API\Runtime\Engine\Animation\USkeleton) * Skeleton, bool bShouldTransact )
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 |