Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Curves
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Curves/RichCurve.h |
| Include | #include "Curves/RichCurve.h" |
Syntax
struct FCompressedRichCurve
Remarks
A runtime optimized representation of a FRichCurve. It consumes less memory and evaluates faster.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< uint8 > | CompressedKeys | Compressed keys, used only outside of the editor | |
| TEnumAsByte< ERichCurveCompressionFormat > | CompressionFormat | Compression format used by CompressedKeys | |
| TConstantValueNumKeys | ConstantValueNumKeys | If the compression format is constant, this is the value returned Inline here to reduce the likelihood of accessing the compressed keys data for the common case of constant/zero/empty curves When a curve is linear/cubic/mixed, the constant float value isn't used and instead we use the number of keys | |
| TEnumAsByte< ERichCurveKeyTimeCompressionFormat > | KeyTimeCompressionFormat | Compression format used to pack the key time | |
| TEnumAsByte< ERichCurveExtrapolation > | PostInfinityExtrap | Post-infinity extrapolation state | |
| TEnumAsByte< ERichCurveExtrapolation > | PreInfinityExtrap | Pre-infinity extrapolation state |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Eval
(
float InTime, |
Evaluate this rich curve at the specified time | |
| void | PopulateCurve
(
FRichCurve& OutCurve |
Populate RichCurve with decompressed key-data | |
| bool | ICPPStructOps interface | ||
| float | StaticEval
(
ERichCurveCompressionFormat CompressionFormat, |
Evaluate this rich curve at the specified time |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FCompressedRichCurve& Other |
||
| bool | operator==
(
const FCompressedRichCurve& Other |
Classes
| Type | Name | Description | |
|---|---|---|---|
| TConstantValueNumKeys |