Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Curves/CurveEvaluation.h |
Include | #include "Curves/CurveEvaluation.h" |
namespace UE
{
namespace Curves
{
template<typename CurveValueType>
CurveValueType UE&58;&58;Curves&58;&58;BezierInterp
&40;
CurveValueType P0,
CurveValueType P1,
CurveValueType P2,
CurveValueType P3,
float Alpha
&41;
}
}
Remarks
Assuming that P0, P1, P2 and P3 are sequential control points of an N=4 Bezier curve, returns the interpolated value for interpolation constant Alpha in [0, 1]