UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::MovieScene::Interpolation::FCubicInterpolation Struct Reference

#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
 

Detailed Description

Structure representing a cubic interpolation of the form f(x) = g(x-o) and g(x) = ax^3 + bx^2 + cx + d.

Constructor & Destructor Documentation

◆ FCubicInterpolation()

UE::MovieScene::Interpolation::FCubicInterpolation::FCubicInterpolation ( FFrameNumber  InOrigin,
double  InA,
double  InB,
double  InC,
double  InConstant,
double  InDX = 1.0 
)
inline

Member Function Documentation

◆ Derivative()

FQuadraticInterpolation UE::MovieScene::Interpolation::FCubicInterpolation::Derivative ( ) const

Compute this expression's derivative

◆ Evaluate()

double UE::MovieScene::Interpolation::FCubicInterpolation::Evaluate ( FFrameTime  InTime) const

Evaluate the expression

◆ Integral()

FQuarticInterpolation UE::MovieScene::Interpolation::FCubicInterpolation::Integral ( double  ConstantOffset = 0.0) const

Compute this expression's integral with an optional constant offset

◆ Solve()

int32 UE::MovieScene::Interpolation::FCubicInterpolation::Solve ( double  Value,
TInterpSolutions< FFrameTime, 3 >  OutResults 
) const

Attempt to solve this interpolation for x

◆ SolveWithin()

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

Member Data Documentation

◆ A

double UE::MovieScene::Interpolation::FCubicInterpolation::A

The coeffients a, b, and c in g(x) = ax^3 + bx^2 + cx + d

◆ B

double UE::MovieScene::Interpolation::FCubicInterpolation::B

◆ C

double UE::MovieScene::Interpolation::FCubicInterpolation::C

◆ Constant

double UE::MovieScene::Interpolation::FCubicInterpolation::Constant

The constant 'd' in g(x) = ax^3 + bx^2 + cx + d

◆ DX

double UE::MovieScene::Interpolation::FCubicInterpolation::DX

◆ Origin

FFrameNumber UE::MovieScene::Interpolation::FCubicInterpolation::Origin

The origin 'o' in f(x) = g(x-o)


The documentation for this struct was generated from the following files: