Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController
- IAnimationDataController::ScaleCurve()
- UAnimDataController::ScaleCurve()
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 ScaleCurve
&40;
const FAnimationCurveIdentifier & CurveId,
float Origin,
float Factor,
bool bShouldTransact
&41;
Remarks
Scales the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveScaled notify if successful. Whether or not scaling the curve was successful
Parameters
| Name | Description |
|---|---|
| CurveId | Identifier of the curve to scale |
| Origin | Time to use as the origin when scaling the curve |
| Factor | Factor with which the curve is supposed to be scaled |
| bShouldTransact | Whether or not any undo-redo changes should be generated |