engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
AnimEncodingLegacyBase类 参考

This class serves as the base to AEFConstantKeyLerpShared, introducing the per-track serialization methods called by ByteSwapIn/ByteSwapOut and individual GetBoneAtomRotation / GetBoneAtomTranslation calls, which GetBoneAtom calls on Seq.TranslationCodec or Seq.RotationCodec. 更多...

#include <AnimEncoding.h>

+ 类 AnimEncodingLegacyBase 继承关系图:

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 更多...
 
virtual void ByteSwapRotationIn (FUECompressedAnimData &CompressedData, FMemoryReader &MemoryReader, uint8 *&Stream, int32 NumKeys)
 Handles the ByteSwap of compressed animation data on import 更多...
 
virtual void ByteSwapRotationOut (FUECompressedAnimData &CompressedData, FMemoryWriter &MemoryWriter, uint8 *&Stream, int32 NumKeys)
 Handles the ByteSwap of compressed animation data on export 更多...
 
virtual void ByteSwapScaleIn (FUECompressedAnimData &CompressedData, FMemoryReader &MemoryReader, uint8 *&Stream, int32 NumKeys)
 Handles the ByteSwap of compressed animation data on import 更多...
 
virtual void ByteSwapScaleOut (FUECompressedAnimData &CompressedData, FMemoryWriter &MemoryWriter, uint8 *&Stream, int32 NumKeys)
 Handles the ByteSwap of compressed animation data on export 更多...
 
virtual void ByteSwapTranslationIn (FUECompressedAnimData &CompressedData, FMemoryReader &MemoryReader, uint8 *&Stream, int32 NumKeys)
 Handles the ByteSwap of compressed animation data on import 更多...
 
virtual void ByteSwapTranslationOut (FUECompressedAnimData &CompressedData, FMemoryWriter &MemoryWriter, uint8 *&Stream, int32 NumKeys)
 Handles the ByteSwap of compressed animation data on export 更多...
 
virtual void GetBoneAtomRotation (FTransform &OutAtom, const FAnimSequenceDecompressionContext &DecompContext, int32 TrackIndex)
 Decompress the Rotation component of a BoneAtom 更多...
 
virtual void GetBoneAtomScale (FTransform &OutAtom, const FAnimSequenceDecompressionContext &DecompContext, int32 TrackIndex)
 Decompress the Scale component of a BoneAtom 更多...
 
virtual void GetBoneAtomTranslation (FTransform &OutAtom, const FAnimSequenceDecompressionContext &DecompContext, int32 TrackIndex)
 Decompress the Translation component of a BoneAtom 更多...
 

详细描述

This class serves as the base to AEFConstantKeyLerpShared, introducing the per-track serialization methods called by ByteSwapIn/ByteSwapOut and individual GetBoneAtomRotation / GetBoneAtomTranslation calls, which GetBoneAtom calls on Seq.TranslationCodec or Seq.RotationCodec.

成员函数说明

◆ ByteSwapIn()

virtual void AnimEncodingLegacyBase::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.

◆ ByteSwapOut()

virtual void AnimEncodingLegacyBase::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.

◆ ByteSwapRotationIn()

virtual void AnimEncodingLegacyBase::ByteSwapRotationIn ( FUECompressedAnimData &  CompressedData,
FMemoryReader &  MemoryReader,
uint8 *&  Stream,
int32  NumKeys 
)
virtual

Handles the ByteSwap of compressed animation data on import

参数
CompressedDataThe compressed animation data being operated on.
MemoryReaderThe FMemoryReader to read from.
StreamThe compressed animation data.
NumKeysThe number of keys present in Stream.
SourceArVersionThe version number of the source archive stream.
返回
The adjusted Stream position after import.

被 AEFConstantKeyLerpShared , 以及 AEFVariableKeyLerpShared 重载.

◆ ByteSwapRotationOut()

virtual void AnimEncodingLegacyBase::ByteSwapRotationOut ( FUECompressedAnimData &  CompressedData,
FMemoryWriter &  MemoryWriter,
uint8 *&  Stream,
int32  NumKeys 
)
virtual

Handles the ByteSwap of compressed animation data on export

参数
CompressedDataThe compressed animation data being operated on.
MemoryWriterThe FMemoryReader to write to.
StreamThe compressed animation data.
NumKeysThe number of keys present in Stream.
返回
The adjusted Stream position after export.

被 AEFConstantKeyLerpShared , 以及 AEFVariableKeyLerpShared 重载.

◆ ByteSwapScaleIn()

virtual void AnimEncodingLegacyBase::ByteSwapScaleIn ( FUECompressedAnimData &  CompressedData,
FMemoryReader &  MemoryReader,
uint8 *&  Stream,
int32  NumKeys 
)
virtual

Handles the ByteSwap of compressed animation data on import

参数
CompressedDataThe compressed animation data being operated on.
MemoryReaderThe FMemoryReader to read from.
StreamThe compressed animation data.
NumKeysThe number of keys present in Stream.
SourceArVersionThe version number of the source archive stream.
返回
The adjusted Stream position after import.

被 AEFConstantKeyLerpShared , 以及 AEFVariableKeyLerpShared 重载.

◆ ByteSwapScaleOut()

virtual void AnimEncodingLegacyBase::ByteSwapScaleOut ( FUECompressedAnimData &  CompressedData,
FMemoryWriter &  MemoryWriter,
uint8 *&  Stream,
int32  NumKeys 
)
virtual

Handles the ByteSwap of compressed animation data on export

参数
CompressedDataThe compressed animation data being operated on.
MemoryWriterThe FMemoryReader to write to.
StreamThe compressed animation data.
NumKeysThe number of keys present in Stream.
返回
The adjusted Stream position after export.

被 AEFConstantKeyLerpShared , 以及 AEFVariableKeyLerpShared 重载.

◆ ByteSwapTranslationIn()

virtual void AnimEncodingLegacyBase::ByteSwapTranslationIn ( FUECompressedAnimData &  CompressedData,
FMemoryReader &  MemoryReader,
uint8 *&  Stream,
int32  NumKeys 
)
virtual

Handles the ByteSwap of compressed animation data on import

参数
CompressedDataThe compressed animation data being operated on.
MemoryReaderThe FMemoryReader to read from.
StreamThe compressed animation data.
NumKeysThe number of keys present in Stream.
SourceArVersionThe version number of the source archive stream.
返回
The adjusted Stream position after import.

被 AEFConstantKeyLerpShared , 以及 AEFVariableKeyLerpShared 重载.

◆ ByteSwapTranslationOut()

virtual void AnimEncodingLegacyBase::ByteSwapTranslationOut ( FUECompressedAnimData &  CompressedData,
FMemoryWriter &  MemoryWriter,
uint8 *&  Stream,
int32  NumKeys 
)
virtual

Handles the ByteSwap of compressed animation data on export

参数
CompressedDataThe compressed animation data being operated on.
MemoryWriterThe FMemoryReader to write to.
StreamThe compressed animation data.
NumKeysThe number of keys present in Stream.
返回
The adjusted Stream position after export.

被 AEFConstantKeyLerpShared , 以及 AEFVariableKeyLerpShared 重载.

◆ GetBoneAtomRotation()

virtual void AnimEncodingLegacyBase::GetBoneAtomRotation ( FTransform &  OutAtom,
const FAnimSequenceDecompressionContext &  DecompContext,
int32  TrackIndex 
)
virtual

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()

virtual void AnimEncodingLegacyBase::GetBoneAtomScale ( FTransform &  OutAtom,
const FAnimSequenceDecompressionContext &  DecompContext,
int32  TrackIndex 
)
virtual

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()

virtual void AnimEncodingLegacyBase::GetBoneAtomTranslation ( FTransform &  OutAtom,
const FAnimSequenceDecompressionContext &  DecompContext,
int32  TrackIndex 
)
virtual

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.

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