Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Replace the keys for the attribute with provided identifier. Broadcasts a EAnimDataModelNotifyType::AttributeChanged notify if successful.
| Name | SetTypedAttributeKeys |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include Path | #include "Animation/AnimData/IAnimationDataController.h" |
template<typename AttributeType>
bool SetTypedAttributeKeys
(
const FAnimationAttributeIdentifier & AttributeIdentifier,
TArrayView < const float > Times,
TArrayView < const AttributeType > KeyValues,
bool bShouldTransact
)
Whether or not replacing the attribute keys was successful
Parameters
| Name | Remarks |
|---|---|
| AttributeIdentifier | Identifier for the attribute for which the keys are to be replaced |
| Times | Times with which the existing key timings are to be replaced |
| KeyValues | Values (templated) with which the existing key values are to be replaced |
| bShouldTransact | Whether or not any undo-redo changes should be generated |