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

#include <MovieSceneInterpolation.h>

Public Member Functions

MOVIESCENE_API FCubicBezierInterpolation (FFrameNumber InOrigin, double InDX, double InStartValue, double InEndValue, double InStartTangent, double InEndTangent)
 
MOVIESCENE_API FCubicInterpolation AsCubic () const
 
MOVIESCENE_API double Evaluate (FFrameTime InTime) const
 
MOVIESCENE_API int32 Solve (double InValue, TInterpSolutions< FFrameTime, 4 > OutResults) const
 
MOVIESCENE_API FQuadraticInterpolation Derivative () const
 
MOVIESCENE_API FQuarticInterpolation Integral (double ConstantOffset=0.0) const
 

Public Attributes

double DX
 
double P0
 
double P1
 
double P2
 
double P3
 
FFrameNumber Origin
 

Detailed Description

A cubic bezier interpolation between 2 control points with tangents, represented as 4 control points on a Bezier curve

Constructor & Destructor Documentation

◆ FCubicBezierInterpolation()

UE::MovieScene::Interpolation::FCubicBezierInterpolation::FCubicBezierInterpolation ( FFrameNumber  InOrigin,
double  InDX,
double  InStartValue,
double  InEndValue,
double  InStartTangent,
double  InEndTangent 
)

Member Function Documentation

◆ AsCubic()

FCubicInterpolation UE::MovieScene::Interpolation::FCubicBezierInterpolation::AsCubic ( ) const

◆ Derivative()

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

Compute this expression's derivative

◆ Evaluate()

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

Evaluate the expression

◆ Integral()

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

Compute this expression's integral with an optional constant offset

◆ Solve()

int32 UE::MovieScene::Interpolation::FCubicBezierInterpolation::Solve ( double  InValue,
TInterpSolutions< FFrameTime, 4 >  OutResults 
) const

Attempt to solve this interpolation for x

Member Data Documentation

◆ DX

double UE::MovieScene::Interpolation::FCubicBezierInterpolation::DX

The delta value between the two control points in the time-domain

◆ Origin

FFrameNumber UE::MovieScene::Interpolation::FCubicBezierInterpolation::Origin

The origin time of the first control point

◆ P0

double UE::MovieScene::Interpolation::FCubicBezierInterpolation::P0

The four control points that should be passed to BezierInterp

◆ P1

double UE::MovieScene::Interpolation::FCubicBezierInterpolation::P1

◆ P2

double UE::MovieScene::Interpolation::FCubicBezierInterpolation::P2

◆ P3

double UE::MovieScene::Interpolation::FCubicBezierInterpolation::P3

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