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