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