Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/AnimData > API/Runtime/Engine/Animation/AnimData/IAnimationDataController
- IAnimationDataController::SetCurveKeys()
- UAnimDataController::SetCurveKeys()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include | #include "Animation/AnimData/IAnimationDataController.h" |
bool SetCurveKeys
&40;
const FAnimationCurveIdentifier & CurveId,
const TArray< FRichCurveKey > & CurveKeys,
bool bShouldTransact
&41;
Remarks
Replace the keys for the curve with provided identifier and name. Broadcasts a EAnimDataModelNotifyType::CurveChanged notify if successful. Whether or not replacing curve keys was successful
Parameters
| Name | Description |
|---|---|
| CurveId | Identifier for the curve for which the keys are to be replaced |
| CurveKeys | Keys with which the existing keys are to be replaced |
| bShouldTransact | Whether or not any undo-redo changes should be generated |