/Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h
Sets a single key for the curve with provided identifier and name. Broadcasts a EAnimDataModelNotifyType::CurveChanged notify if successful. In case a key for the provided key time already exists the key is replaced.
Whether or not the curve key was successfully set
bool SetCurveKey ( const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CurveId, const [FRichCurveKey](API\Runtime\Engine\Curves\FRichCurveKey) & Key, bool bShouldTransact )