Decompression codec for the per-track compressor.
更多...
#include <AnimEncoding_PerTrackCompression.h>
继承自 AnimEncoding .
|
| virtual void | ByteSwapIn (FUECompressedAnimData &CompressedData, FMemoryReader &MemoryReader) override |
| | Handles Byte-swapping incoming animation data from a MemoryReader 更多...
|
| |
| virtual void | ByteSwapOut (FUECompressedAnimData &CompressedData, FMemoryWriter &MemoryWriter) override |
| | Handles Byte-swapping outgoing animation data to an array of BYTEs 更多...
|
| |
|
| template<class TArchive > |
| static void | ByteSwapOneTrack (FUECompressedAnimData &CompressedData, TArchive &MemoryStream, int32 BufferStart, int32 Offset) |
| | Handles Byte-swapping a single track of animation data from a MemoryReader or to a MemoryWriter 更多...
|
| |
| static void | GetBoneAtomRotation (FTransform &OutAtom, FAnimSequenceDecompressionContext &DecompContext, int32 TrackIndex) |
| | Decompress the Rotation component of a BoneAtom 更多...
|
| |
| static void | GetBoneAtomScale (FTransform &OutAtom, FAnimSequenceDecompressionContext &DecompContext, int32 TrackIndex) |
| | Decompress the Scale component of a BoneAtom 更多...
|
| |
| static void | GetBoneAtomTranslation (FTransform &OutAtom, FAnimSequenceDecompressionContext &DecompContext, int32 TrackIndex) |
| | Decompress the Translation component of a BoneAtom 更多...
|
| |
| static void | PreservePadding (uint8 *&TrackData, FMemoryArchive &MemoryStream) |
| | Preserves 4 byte alignment within a stream 更多...
|
| |
|
|
class | UAnimCompress_PerTrackCompression |
| |
Decompression codec for the per-track compressor.
◆ ByteSwapIn()
| virtual void AEFPerTrackCompressionCodec::ByteSwapIn |
( |
FUECompressedAnimData & |
CompressedData, |
|
|
FMemoryReader & |
MemoryReader |
|
) |
| |
|
overridevirtual |
Handles Byte-swapping incoming animation data from a MemoryReader
- 参数
-
| CompressedData | The compressed animation data being operated on. |
| MemoryReader | The MemoryReader object to read from. |
| SourceArVersion | The version of the archive that the data is coming from. |
◆ ByteSwapOneTrack()
template<class TArchive >
| static void AEFPerTrackCompressionCodec::ByteSwapOneTrack |
( |
FUECompressedAnimData & |
CompressedData, |
|
|
TArchive & |
MemoryStream, |
|
|
int32 |
BufferStart, |
|
|
int32 |
Offset |
|
) |
| |
|
staticprotected |
Handles Byte-swapping a single track of animation data from a MemoryReader or to a MemoryWriter
- 参数
-
| CompressedData | The compressed animation data being operated on. |
| MemoryStream | The MemoryReader or MemoryWriter object to read from/write to. |
| Offset | The starting offset into the compressed byte stream for this track (can be INDEX_NONE to indicate an identity track) |
◆ ByteSwapOut()
| virtual void AEFPerTrackCompressionCodec::ByteSwapOut |
( |
FUECompressedAnimData & |
CompressedData, |
|
|
FMemoryWriter & |
MemoryWriter |
|
) |
| |
|
overridevirtual |
Handles Byte-swapping outgoing animation data to an array of BYTEs
- 参数
-
| CompressedData | The compressed animation data being operated on. |
| SerializedData | The output buffer. |
| ForceByteSwapping | true is byte swapping is not optional. |
◆ GetBoneAtomRotation()
| static void AEFPerTrackCompressionCodec::GetBoneAtomRotation |
( |
FTransform & |
OutAtom, |
|
|
FAnimSequenceDecompressionContext & |
DecompContext, |
|
|
int32 |
TrackIndex |
|
) |
| |
|
staticprotected |
Decompress the Rotation component of a BoneAtom
- 参数
-
| OutAtom | The FTransform to fill in. |
| DecompContext | The decompression context to use. |
| TrackIndex | The index of the track desired in the Animation Sequence. |
◆ GetBoneAtomScale()
| static void AEFPerTrackCompressionCodec::GetBoneAtomScale |
( |
FTransform & |
OutAtom, |
|
|
FAnimSequenceDecompressionContext & |
DecompContext, |
|
|
int32 |
TrackIndex |
|
) |
| |
|
staticprotected |
Decompress the Scale component of a BoneAtom
- 参数
-
| OutAtom | The FTransform to fill in. |
| DecompContext | The decompression context to use. |
| TrackIndex | The index of the track desired in the Animation Sequence. |
◆ GetBoneAtomTranslation()
| static void AEFPerTrackCompressionCodec::GetBoneAtomTranslation |
( |
FTransform & |
OutAtom, |
|
|
FAnimSequenceDecompressionContext & |
DecompContext, |
|
|
int32 |
TrackIndex |
|
) |
| |
|
staticprotected |
Decompress the Translation component of a BoneAtom
- 参数
-
| OutAtom | The FTransform to fill in. |
| DecompContext | The decompression context to use. |
| TrackIndex | The index of the track desired in the Animation Sequence. |
◆ PreservePadding()
| static void AEFPerTrackCompressionCodec::PreservePadding |
( |
uint8 *& |
TrackData, |
|
|
FMemoryArchive & |
MemoryStream |
|
) |
| |
|
staticprotected |
Preserves 4 byte alignment within a stream
- 参数
-
| TrackData | [inout] The current data offset (will be returned four byte aligned from the start of the compressed byte stream) |
| MemoryStream | The MemoryReader or MemoryWriter object to read from/write to. |
该类的文档由以下文件生成:
- AnimEncoding_PerTrackCompression.h