/Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h
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
virtual bool SetCurveKeys ( const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CurveId, const [TArray](API\Runtime\Core\Containers\TArray)< [FRichCurveKey](API\Runtime\Engine\Curves\FRichCurveKey) > & CurveKeys, bool bShouldTransact )