Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAnimCurveCompressionCodec
- UAnimCurveCompressionCodec_ACL
- UAnimCurveCompressionCodec_CompressedRichCurve
- UAnimCurveCompressionCodec_UniformIndexable
- UAnimCurveCompressionCodec_UniformlySampled
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimCurveCompressionCodec.h |
| Include | #include "Animation/AnimCurveCompressionCodec.h" |
Syntax
class UAnimCurveCompressionCodec : public UObject
Remarks
Base class for all curve compression codecs.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGuid | InstanceGuid | A GUID that is unique to this codec instance. After creation, it never changes. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAnimCurveCompressionCodec
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Compress
(
const FCompressibleAnimData& AnimSeq, |
Compresses the curve data from an animation sequence. | |
| float | DecompressCurve
(
const FCompressedAnimSequence& AnimSeq, |
Decompress a single curve. | |
| void | DecompressCurves
(
const FCompressedAnimSequence& AnimSeq, |
Decompresses all the active blended curves. | |
| UAnimCurveCompressionCodec * | Allow us to convert DDC serialized path back into codec object | ||
| bool | IsCodecValid () |
Returns whether or not we can use this codec to compress. | |
| void | PopulateDDCKey
(
FArchive& Ar |
Called to generate a unique DDC key for this codec instance. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostDuplicate
(
bool bDuplicateForPIE |
Called after duplication & serialization and before PostLoad. | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | Handles reading, writing, and reference collecting using FArchive. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| float | DecompressCurve
(
const FCompressedAnimSequence& AnimSeq, |
Please use DecompressCurve that takes an FName. |