engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Protected 成员函数 | 友元 | 所有成员列表
AEFPerTrackCompressionCodec类 参考

Decompression codec for the per-track compressor. 更多...

#include <AnimEncoding_PerTrackCompression.h>

继承自 AnimEncoding .

Public 成员函数

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 更多...
 

静态 Protected 成员函数

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

参数
CompressedDataThe compressed animation data being operated on.
MemoryReaderThe MemoryReader object to read from.
SourceArVersionThe 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

参数
CompressedDataThe compressed animation data being operated on.
MemoryStreamThe MemoryReader or MemoryWriter object to read from/write to.
OffsetThe 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

参数
CompressedDataThe compressed animation data being operated on.
SerializedDataThe output buffer.
ForceByteSwappingtrue 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

参数
OutAtomThe FTransform to fill in.
DecompContextThe decompression context to use.
TrackIndexThe 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

参数
OutAtomThe FTransform to fill in.
DecompContextThe decompression context to use.
TrackIndexThe 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

参数
OutAtomThe FTransform to fill in.
DecompContextThe decompression context to use.
TrackIndexThe 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)
MemoryStreamThe MemoryReader or MemoryWriter object to read from/write to.

该类的文档由以下文件生成: