/Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h
Replace the flags for the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveFlagsChanged notify if successful.
Whether or not the flag mask was successfully set
bool SetCurveFlags ( const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CurveId, int32 Flags, bool bShouldTransact )