Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController
- IAnimationDataController::SetCurveKey()
- UAnimDataController::SetCurveKey()
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 SetCurveKey
&40;
const FAnimationCurveIdentifier & CurveId,
const FRichCurveKey & Key,
bool bShouldTransact
&41;
Remarks
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
Parameters
| Name | Description |
|---|---|
| CurveId | Identifier for the curve for which the key is to be set |
| Key | Key to be set |
| bShouldTransact | Whether or not any undo-redo changes should be generated |