struct

FRichCurve

Module
Math
Header
#include "Math/RichCurve.h"
Namespace
Mowo

Properties

TypeNameDescription
std::vector<FRichCurveKey>Keyskept sorted by Time
ECurveExtrapolationPreInfinityDefault ECurveExtrapolation::Constant.
ECurveExtrapolationPostInfinityDefault ECurveExtrapolation::Constant.

Public functions

ReturnsNameDescription
boolIsEmpty
voidSortKeys
int32_tAddKey
voidAutoTangentsCatmull-Rom-style auto tangents: each Auto key's slope is the secant of its neighbours (endpoint keys go flat) — the "just look smooth" default every curve editor needs.
voidResetTangentsToAuto
floatEdgeSlopeThe slope a Linear extrapolation continues along: the end key's tangent on a cubic end, the end segment's secant on a linear one, flat on a step.
floatEvalEvaluate at time.
floatMinTime
floatMaxTime

Function details

IsEmpty

C++
bool IsEmpty() const

SortKeys

C++
void SortKeys()

AddKey

C++
int32_t AddKey(float time, float value, ECurveInterp interp = ECurveInterp::Cubic)

AutoTangents

C++
void AutoTangents()

Catmull-Rom-style auto tangents: each Auto key's slope is the secant of its neighbours (endpoint keys go flat) — the "just look smooth" default every curve editor needs. User and Break keys are the artist's and are left alone; ResetTangentsToAuto hands them back.

ResetTangentsToAuto

C++
void ResetTangentsToAuto()

EdgeSlope

C++
float EdgeSlope(bool front) const

The slope a Linear extrapolation continues along: the end key's tangent on a cubic end, the end segment's secant on a linear one, flat on a step.

Eval

C++
float Eval(float time, float defaultValue = 0.0f) const

Evaluate at time. Outside the key range the curve does what its PreInfinity / PostInfinity say; Constant (the default) clamps to the end value, because extrapolation surprises are worse than flat ends for tuning data that never asked for them.

MinTime

C++
float MinTime() const

MaxTime

C++
float MaxTime() const
Generated from Math/RichCurve.h via math.json · Nov 4, 2026Version 1.0.0