UAnimDataController::SetCurveKeys

Replace the keys for the curve with provided identifier and name.

Unreal Engine C++ API Reference > Developer > AnimationDataController > UAnimDataController

References

   
Module AnimationDataController
Header /Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h
Include #include "AnimDataController.h"
Source /Engine/Source/Developer/AnimationDataController/Private/AnimDataController.cpp
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
)

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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library