UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimEncodingLegacyBase Class Reference

#include <AnimEncoding.h>

+ Inheritance diagram for AnimEncodingLegacyBase:

Public Member Functions

virtual void ByteSwapOut (FUECompressedAnimData &CompressedData, FMemoryWriter &MemoryWriter) override
 

Public Attributes

virtual void virtual GetBoneAtomRotation(FTransform &OutAtom, const FAnimSequenceDecompressionContext &DecompContext, int32 TrackIndex) PURE_VIRTUAL(AnimEncoding void virtual GetBoneAtomTranslation(FTransform &OutAtom, const FAnimSequenceDecompressionContext &DecompContext, int32 TrackIndex) PURE_VIRTUAL(AnimEncoding void virtual GetBoneAtomScale(FTransform &OutAtom, const FAnimSequenceDecompressionContext &DecompContext, int32 TrackIndex) PURE_VIRTUAL(AnimEncoding void ByteSwapIn (FUECompressedAnimData &CompressedData, FMemoryReader &MemoryReader) override
 

Additional Inherited Members

- Static Protected Member Functions inherited from AnimEncoding
static float TimeToIndex (float SequenceLength, float RelativePos, int32 NumKeys, EAnimInterpolationType Interpolation, int32 &PosIndex0Out, int32 &PosIndex1Out)
 
static float TimeToIndex (EAnimInterpolationType Interpolation, int32 NumberOfFrames, const uint8 *FrameTable, float RelativePos, int32 NumKeys, int32 &PosIndex0Out, int32 &PosIndex1Out)
 

Detailed Description

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.

Member Function Documentation

◆ ByteSwapOut()

void AnimEncodingLegacyBase::ByteSwapOut ( FUECompressedAnimData CompressedData,
FMemoryWriter MemoryWriter 
)
overridevirtual

Handles Byte-swapping outgoing animation data to an array of BYTEs

Parameters
CompressedDataThe compressed animation data being operated on.
SerializedDataThe output buffer.
ForceByteSwappingtrue is byte swapping is not optional.

Handles Byte-swapping outgoing animation data to an array of BYTEs

Parameters
SeqAn Animation Sequence to write.
SerializedDataThe output buffer.
ForceByteSwappingtrue is byte swapping is not optional.

Member Data Documentation

◆ ByteSwapIn

void AnimEncodingLegacyBase::ByteSwapIn
override

Decompress the Rotation component of a BoneAtom

Parameters
OutAtomThe FTransform to fill in.
DecompContextThe decompression context to use.
TrackIndexThe index of the track desired in the Animation Sequence. 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. 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. Handles Byte-swapping incoming animation data from a MemoryReader
CompressedDataThe compressed animation data being operated on.
MemoryReaderThe MemoryReader object to read from.

Handles Byte-swapping incoming animation data from a MemoryReader

Parameters
CompressedDataThe compressed animation data being operated on.
MemoryReaderThe MemoryReader object to read from.

The documentation for this class was generated from the following files: