struct
FRichCurve
- Module
- Math
- Header
#include "Math/RichCurve.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::vector<FRichCurveKey> | Keys | kept sorted by Time |
ECurveExtrapolation | PreInfinity | Default ECurveExtrapolation::Constant. |
ECurveExtrapolation | PostInfinity | Default ECurveExtrapolation::Constant. |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | IsEmpty | |
void | SortKeys | |
int32_t | AddKey | |
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. |
void | ResetTangentsToAuto | |
float | EdgeSlope | 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. |
float | Eval | Evaluate at time. |
float | MinTime | |
float | MaxTime |
Function details
IsEmpty
C++
bool IsEmpty() constSortKeys
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) constThe 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) constEvaluate 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() constMaxTime
C++
float MaxTime() constGenerated from Math/RichCurve.h via math.json · Nov 4, 2026Version 1.0.0