Navigation
Unreal Engine C++ API Reference > Developer > AnimationDataController > UAnimDataController
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 SetTransformCurveKey ( const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CurveId, float Time, const FTransform & Value, bool bShouldTransact )
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 |