Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Removes a single key for the transform curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveChanged notify if successful.
| Name | RemoveTransformCurveKey |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include Path | #include "Animation/AnimData/IAnimationDataController.h" |
UFUNCTION (BlueprintCallable, Category=CurveData)
bool RemoveTransformCurveKey
(
const FAnimationCurveIdentifier & CurveId,
float Time,
bool bShouldTransact
)
Whether or not the transform curve key was successfully removed
Parameters
| Name | Remarks |
|---|---|
| CurveId | Identifier for the transform curve for which the key is to be removed |
| Time | Time of the key to be removed |
| bShouldTransact | Whether or not any undo-redo changes should be generated |