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

#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
 

Detailed Description

Structure representing a linear interpolation of the form f(t) = a(t-o) + b.

Constructor & Destructor Documentation

◆ FLinearInterpolation()

UE::MovieScene::Interpolation::FLinearInterpolation::FLinearInterpolation ( FFrameNumber  InOrigin,
double  InCoefficient,
double  InConstant 
)
inline

Member Function Documentation

◆ Derivative()

FConstantValue UE::MovieScene::Interpolation::FLinearInterpolation::Derivative ( ) const

Compute this expression's derivative

◆ Evaluate()

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

Evaluate the expression

◆ Integral()

FQuadraticInterpolation UE::MovieScene::Interpolation::FLinearInterpolation::Integral ( double  ConstantOffset = 0.0) const

Compute this expression's integral with an optional constant offset

◆ Solve()

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

Attempt to solve this interpolation for x

◆ SolveWithin()

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

Member Data Documentation

◆ Coefficient

double UE::MovieScene::Interpolation::FLinearInterpolation::Coefficient

The coeffient 'a' in f(t) = a(t-o) + b

◆ Constant

double UE::MovieScene::Interpolation::FLinearInterpolation::Constant

The constant 'b' in f(t) = a(t-o) + b

◆ Origin

FFrameNumber UE::MovieScene::Interpolation::FLinearInterpolation::Origin

The origin 'o' in f(t) = a(t-o) + b


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