UAnimDataController::ScaleCurve

Scales the curve with provided identifier.

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 ScaleCurve
(
    const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CurveId,
    float Origin,
    float Factor,
    bool bShouldTransact
)

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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library