Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/AnimData > API/Runtime/Engine/Animation/AnimData/IAnimationDataController
- IAnimationDataController::ScaleCurve()
- UAnimDataController::ScaleCurve()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include | #include "Animation/AnimData/IAnimationDataController.h" |
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 |