Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/AnimData > API/Runtime/Engine/Animation/AnimData/IAnimationDataController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include | #include "Animation/AnimData/IAnimationDataController.h" |
UFUNCTION (BlueprintCallable, Category=CurveData)
bool SetTransformCurveKeys
(
const FAnimationCurveIdentifier & CurveId,
const TArray < FTransform > & TransformValues,
const TArray < float > & TimeKeys,
bool bShouldTransact
)
Remarks
Replace the keys for the transform curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveChanged notify if successful. Whether or not the transform curve keys were successfully set
Parameters
| Name | Description |
|---|---|
| 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 |