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 | SetAttributeKeys |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include Path | #include "Animation/AnimData/IAnimationDataController.h" |
bool SetAttributeKeys
(
const FAnimationAttributeIdentifier & AttributeIdentifier,
TArrayView < const float > Times,
TArrayView < const void * > KeyValues,
const UScriptStruct * TypeStruct,
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 with which the existing key values are to be replaced |
| TypeStruct | UScriptStruct describing the type of KeyValues |
| bShouldTransact | Whether or not any undo-redo changes should be generated |