Go to the source code of this file.
|
| ENGINE_API 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) |
| |
| template<typename CompressedDataType > |
| void | AnimationFormat_SetInterfaceLinks (CompressedDataType &CompressedData) |
| |
| void | PadMemoryWriter (FMemoryWriter *MemoryWriter, uint8 *&TrackData, const int32 Alignment) |
| |
| void | PadMemoryReader (FMemoryReader *MemoryReader, uint8 *&TrackData, const int32 Alignment) |
| |
| template<typename TABLE_TYPE > |
| int32 | FindLowKeyIndex (const TABLE_TYPE *FrameTable, int32 NumKeys, int32 SearchFrame, int32 KeyEstimate) |
| |
◆ AC_UnalignedSwap
| #define AC_UnalignedSwap |
( |
|
MemoryArchive, |
|
|
|
Data, |
|
|
|
Len |
|
) |
| |
Value: MemoryArchive.Serialize( (Data), (Len) ); \
(Data) += (Len);
◆ ANIMATION_ENCODING_PACKAGE_ORIGINAL
| #define ANIMATION_ENCODING_PACKAGE_ORIGINAL 0 |
◆ CURRENT_ANIMATION_ENCODING_PACKAGE_VERSION
◆ MAX_BONES
Fixed-size array of BoneTrackPair elements. Used in the bulk-animation solving process.
◆ USE_ANIMATION_CODEC_BATCH_SOLVER
| #define USE_ANIMATION_CODEC_BATCH_SOLVER 1 |
◆ BoneTrackArray
◆ FTransformArray
Array of FTransform using the game memory stack
◆ AnimationFormat_GetStats()
| ENGINE_API 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
- Parameters
-
| 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. |
◆ AnimationFormat_SetInterfaceLinks()
Sets the internal Animation Codec Interface Links within an Animation Sequence
- Parameters
-
| Seq | An Animation Sequence to setup links within. |
Sets the internal Animation Codec Interface Links within an Animation CompressedDatauence
- Parameters
-
| Seq | An Animation Sequence to setup links within. |
◆ FindLowKeyIndex()
Utility function to find the key before the specified search value.
- Parameters
-
| FrameTable | The frame table, containing on frame index value per key. |
| NumKeys | The total number of keys in the table. |
| SearchFrame | The Frame we are attempting to find. |
| KeyEstimate | An estimate of the best location to search from in the KeyTable. |
- Returns
- The index of the first key immediately below the specified search frame.
◆ PadMemoryReader()
Skips a specified number of bytes in the memory reader to maintain alignment
◆ PadMemoryWriter()
Pads a specified number of bytes to the memory writer to maintain alignment
◆ CompressedRotationNum
Number of swapped chunks per element.
◆ CompressedRotationStrides
Each CompresedRotationData track's ByteStream will be byte swapped in chunks of this size.
◆ CompressedScaleNum
Number of swapped chunks per element.
◆ CompressedScaleStrides
Each CompresedScaleData track's ByteStream will be byte swapped in chunks of this size.
◆ CompressedTranslationNum
Number of swapped chunks per element.
◆ CompressedTranslationStrides
Each CompresedTranslationData track's ByteStream will be byte swapped in chunks of this size.
◆ PerTrackNumComponentTable
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!