Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/AnimData > API/Runtime/Engine/Animation/AnimData/IAnimationDataController
- IAnimationDataController::SetTransformCurveKey()
- UAnimDataController::SetTransformCurveKey()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include | #include "Animation/AnimData/IAnimationDataController.h" |
bool SetTransformCurveKey
&40;
const FAnimationCurveIdentifier & CurveId,
float Time,
const FTransform & Value,
bool bShouldTransact
&41;
Remarks
Sets a single key for the transform curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveChanged notify if successful. In case a key for any of the individual transform channel curves already exists the value is replaced. Whether or not the transform curve key was successfully set
Parameters
| Name | Description |
|---|---|
| CurveId | Identifier for the transform curve for which the key is to be set |
| Time | Time of the key to be set |
| Value | Value of the key to be set |
| bShouldTransact | Whether or not any undo-redo changes should be generated |