Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController
- IAnimationDataController::SetAttributeKeys()
- UAnimDataController::SetAttributeKeys()
References
| Module | AnimationDataController |
| Header | /Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h |
| Include | #include "AnimDataController.h" |
virtual bool SetAttributeKeys
&40;
const FAnimationAttributeIdentifier & AttributeIdentifier,
TArrayView< const float > Times,
TArrayView< const void &42; > KeyValues,
const UScriptStruct &42; TypeStruct,
bool bShouldTransact
&41;
Remarks
Replace the keys for the attribute with provided identifier. Broadcasts a EAnimDataModelNotifyType::AttributeChanged notify if successful. Whether or not replacing the attribute keys was successful
Parameters
| Name | Description |
|---|---|
| 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 |