![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneInterpolation.h>
Public Member Functions | |
| FLinearInterpolation (FFrameNumber InOrigin, double InCoefficient, double InConstant) | |
| MOVIESCENE_API double | Evaluate (FFrameTime InTime) const |
| MOVIESCENE_API int32 | Solve (double Value, TInterpSolutions< FFrameTime, 1 > OutResults) const |
| MOVIESCENE_API int32 | SolveWithin (FFrameTime Start, FFrameTime End, double Value, TInterpSolutions< FFrameTime, 1 > OutResults) const |
| MOVIESCENE_API FConstantValue | Derivative () const |
| MOVIESCENE_API FQuadraticInterpolation | Integral (double ConstantOffset=0.0) const |
Public Attributes | |
| double | Coefficient |
| double | Constant |
| FFrameNumber | Origin |
Structure representing a linear interpolation of the form f(t) = a(t-o) + b.
|
inline |
| FConstantValue UE::MovieScene::Interpolation::FLinearInterpolation::Derivative | ( | ) | const |
Compute this expression's derivative
| double UE::MovieScene::Interpolation::FLinearInterpolation::Evaluate | ( | FFrameTime | InTime | ) | const |
Evaluate the expression
| FQuadraticInterpolation UE::MovieScene::Interpolation::FLinearInterpolation::Integral | ( | double | ConstantOffset = 0.0 | ) | const |
Compute this expression's integral with an optional constant offset
| int32 UE::MovieScene::Interpolation::FLinearInterpolation::Solve | ( | double | Value, |
| TInterpSolutions< FFrameTime, 1 > | OutResults | ||
| ) | const |
Attempt to solve this interpolation for x
| int32 UE::MovieScene::Interpolation::FLinearInterpolation::SolveWithin | ( | FFrameTime | Start, |
| FFrameTime | End, | ||
| double | Value, | ||
| TInterpSolutions< FFrameTime, 1 > | OutResults | ||
| ) | const |
Attempt to solve this interpolation for x within limits
| double UE::MovieScene::Interpolation::FLinearInterpolation::Coefficient |
The coeffient 'a' in f(t) = a(t-o) + b
| double UE::MovieScene::Interpolation::FLinearInterpolation::Constant |
The constant 'b' in f(t) = a(t-o) + b
| FFrameNumber UE::MovieScene::Interpolation::FLinearInterpolation::Origin |
The origin 'o' in f(t) = a(t-o) + b