AnimEncodingLegacyBase

This class serves as the base to [AEFConstantKeyLerpShared](API\Runtime\Engine\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.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AnimEncoding.h

Include

#include "AnimEncoding.h"

Syntax

class AnimEncodingLegacyBase : public AnimEncoding

Remarks

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.

Functions

Name Description

Public function Virtual

void

 

ByteSwapRotationIn

(
    FUECompressedAnimData& CompressedD...,
    FMemoryReader& MemoryReader,
    uint8*& Stream,
    int32 NumKeys
)

Handles the ByteSwap of compressed animation data on import

Public function Virtual

void

 

ByteSwapRotationOut

(
    FUECompressedAnimData& CompressedD...,
    FMemoryWriter& MemoryWriter,
    uint8*& Stream,
    int32 NumKeys
)

Handles the ByteSwap of compressed animation data on export

Public function Virtual

void

 

ByteSwapScaleIn

(
    FUECompressedAnimData& CompressedD...,
    FMemoryReader& MemoryReader,
    uint8*& Stream,
    int32 NumKeys
)

Handles the ByteSwap of compressed animation data on import

Public function Virtual

void

 

ByteSwapScaleOut

(
    FUECompressedAnimData& CompressedD...,
    FMemoryWriter& MemoryWriter,
    uint8*& Stream,
    int32 NumKeys
)

Handles the ByteSwap of compressed animation data on export

Public function Virtual

void

 

ByteSwapTranslationIn

(
    FUECompressedAnimData& CompressedD...,
    FMemoryReader& MemoryReader,
    uint8*& Stream,
    int32 NumKeys
)

Handles the ByteSwap of compressed animation data on import

Public function Virtual

void

 

ByteSwapTranslationOut

(
    FUECompressedAnimData& CompressedD...,
    FMemoryWriter& MemoryWriter,
    uint8*& Stream,
    int32 NumKeys
)

Handles the ByteSwap of compressed animation data on export

Public function Virtual

void

 

GetBoneAtomRotation

(
    FTransform& OutAtom,
    const FAnimSequenceDecompressionCon...,
    int32 TrackIndex
)

Decompress the Rotation component of a BoneAtom

Public function Virtual

void

 

GetBoneAtomScale

(
    FTransform& OutAtom,
    const FAnimSequenceDecompressionCon...,
    int32 TrackIndex
)

Decompress the Scale component of a BoneAtom

Public function Virtual

void

 

GetBoneAtomTranslation

(
    FTransform& OutAtom,
    const FAnimSequenceDecompressionCon...,
    int32 TrackIndex
)

Decompress the Translation component of a BoneAtom

Overridden from AnimEncoding

Name Description

Public function Virtual

void

 

ByteSwapIn

(
    FUECompressedAnimData& CompressedD...,
    FMemoryReader& MemoryReader
)

Handles Byte-swapping incoming animation data from a MemoryReader

Public function Virtual

void

 

ByteSwapOut

(
    FUECompressedAnimData& CompressedD...,
    FMemoryWriter& MemoryWriter
)

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss