![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "AnimEncoding.h"#include "AnimEncoding_VariableKeyLerp.h"#include "AnimEncoding_PerTrackCompression.h"Variables | |
| const int32 | CompressedTranslationStrides [ACF_MAX] |
| const int32 | CompressedTranslationNum [ACF_MAX] |
| const int32 | CompressedRotationStrides [ACF_MAX] |
| const int32 | CompressedRotationNum [ACF_MAX] |
| const uint8 | PerTrackNumComponentTable [ACF_MAX *8] |
| const int32 | CompressedScaleStrides [ACF_MAX] |
| const int32 | CompressedScaleNum [ACF_MAX] |
| void AnimationFormat_GetStats | ( | const FUECompressedAnimData & | CompressedData, |
| int32 & | NumTransTracks, | ||
| int32 & | NumRotTracks, | ||
| int32 & | NumScaleTracks, | ||
| int32 & | TotalNumTransKeys, | ||
| int32 & | TotalNumRotKeys, | ||
| int32 & | TotalNumScaleKeys, | ||
| float & | TranslationKeySize, | ||
| float & | RotationKeySize, | ||
| float & | ScaleKeySize, | ||
| int32 & | OverheadSize, | ||
| int32 & | NumTransTracksWithOneKey, | ||
| int32 & | NumRotTracksWithOneKey, | ||
| int32 & | NumScaleTracksWithOneKey | ||
| ) |
Extracts statistics about a given Animation Sequence
| Seq | An Animation Sequence. |
| NumTransTracks | The total number of Translation Tracks found. |
| NumRotTracks | The total number of Rotation Tracks found. |
| TotalNumTransKeys | The total number of Translation Keys found. |
| TotalNumRotKeys | The total number of Rotation Keys found. |
| TranslationKeySize | The average size (in BYTES) of a single Translation Key. |
| RotationKeySize | The average size (in BYTES) of a single Rotation Key. |
| OverheadSize | The size (in BYTES) of overhead (offsets, scale tables, key->frame lookups, etc...) |
| NumTransTracksWithOneKey | The total number of Translation Tracks found containing a single key. |
| NumRotTracksWithOneKey | The total number of Rotation Tracks found containing a single key. |
| void AnimationFormat_SetInterfaceLinks | ( | CompressedDataType & | CompressedData | ) |
Sets the internal Animation Codec Interface Links within an Animation CompressedDatauence
| Seq | An Animation Sequence to setup links within. |
| template void AnimationFormat_SetInterfaceLinks | ( | FUECompressedAnimData & | CompressedData | ) |
| template void AnimationFormat_SetInterfaceLinks | ( | FUECompressedAnimDataMutable & | CompressedData | ) |
|
inline |
Compressed rotation data will be byte swapped in chunks of this size.
|
inline |
Compressed rotation data will be byte swapped in chunks of this size.
|
inline |
Compressed Scale data will be byte swapped in chunks of this size.
|
inline |
Compressed Scale data will be byte swapped in chunks of this size.
|
inline |
Compressed translation data will be byte swapped in chunks of this size.
|
inline |
Compressed translation data will be byte swapped in chunks of this size.
| void PadMemoryReader | ( | FMemoryReader * | MemoryReader, |
| uint8 *& | TrackData, | ||
| const int32 | Alignment | ||
| ) |
Skips a specified number of bytes in the memory reader to maintain alignment
| void PadMemoryWriter | ( | FMemoryWriter * | MemoryWriter, |
| uint8 *& | TrackData, | ||
| const int32 | Alignment | ||
| ) |
Pads a specified number of bytes to the memory writer to maintain alignment
Number of swapped chunks per element.
Each CompresedRotationData track's ByteStream will be byte swapped in chunks of this size.
Number of swapped chunks per element.
Each CompresedScaleData track's ByteStream will be byte swapped in chunks of this size.
Number of swapped chunks per element.
Each CompresedTranslationData track's ByteStream will be byte swapped in chunks of this size.
Number of swapped chunks per element, split out per component (high 3 bits) and flags (low 3 bits)
Note: The entry for ACF_IntervalFixed32NoW is special, and actually indicates how many fixed components there are!