Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Replace the keys for the transform curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveChanged notify if successful.
| Name | SetTransformCurveKeys |
| 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 SetTransformCurveKeys
(
const FAnimationCurveIdentifier & CurveId,
const TArray < FTransform > & TransformValues,
const TArray < float > & TimeKeys,
bool bShouldTransact
)
Whether or not the transform curve keys were successfully set
Parameters
| Name | Remarks |
|---|---|
| CurveId | Identifier for the transform curve for which the keys are to be set |
| TransformValues | Transform Values with which the existing values are to be replaced |
| TimeKeys | Time Keys with which the existing keys are to be replaced |
| bShouldTransact | Whether or not any undo-redo changes should be generated |