A runtime optimized representation of a FRichCurve. 更多...
#include <RichCurve.h>
Public 成员函数 | |
| float | Eval (float InTime, float InDefaultValue=0.0f) const |
| Evaluate this rich curve at the specified time | |
| bool | Serialize (FArchive &Ar) |
| ICPPStructOps interface | |
静态 Public 成员函数 | |
| static float | StaticEval (ERichCurveCompressionFormat CompressionFormat, ERichCurveKeyTimeCompressionFormat KeyTimeCompressionFormat, ERichCurveExtrapolation PreInfinityExtrap, ERichCurveExtrapolation PostInfinityExtrap, TConstantValueNumKeys ConstantValueNumKeys, const uint8 *CompressedKeys, float InTime, float InDefaultValue=0.0f) |
| Evaluate this rich curve at the specified time | |
Public 属性 | |
| 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 | |
A runtime optimized representation of a FRichCurve.
It consumes less memory and evaluates faster.