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& CompressedData,
    FMemoryReader& MemoryReader,
    uint8*& Stream,
    int32 NumKeys
)

Handles the ByteSwap of compressed animation data on import

Public function Virtual

void

 

ByteSwapRotationOut

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

Handles the ByteSwap of compressed animation data on export

Public function Virtual

void

 

ByteSwapScaleIn

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

Handles the ByteSwap of compressed animation data on import

Public function Virtual

void

 

ByteSwapScaleOut

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

Handles the ByteSwap of compressed animation data on export

Public function Virtual

void

 

ByteSwapTranslationIn

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

Handles the ByteSwap of compressed animation data on import

Public function Virtual

void

 

ByteSwapTranslationOut

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

Handles the ByteSwap of compressed animation data on export

Public function Virtual

void

 

GetBoneAtomRotation

(
    FTransform& OutAtom,
    const FAnimSequenceDecompressionContext& DecompContext,
    int32 TrackIndex
)

Decompress the Rotation component of a BoneAtom

Public function Virtual

void

 

GetBoneAtomScale

(
    FTransform& OutAtom,
    const FAnimSequenceDecompressionContext& DecompContext,
    int32 TrackIndex
)

Decompress the Scale component of a BoneAtom

Public function Virtual

void

 

GetBoneAtomTranslation

(
    FTransform& OutAtom,
    const FAnimSequenceDecompressionContext& DecompContext,
    int32 TrackIndex
)

Decompress the Translation component of a BoneAtom

Overridden from AnimEncoding

Name Description

Public function Virtual

void

 

ByteSwapIn

(
    FUECompressedAnimData& CompressedData,
    FMemoryReader& MemoryReader
)

Handles Byte-swapping incoming animation data from a MemoryReader

Public function Virtual

void

 

ByteSwapOut

(
    FUECompressedAnimData& CompressedData,
    FMemoryWriter& MemoryWriter
)

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

Public function Virtual

void

 

GetBoneAtom

(
    FTransform& OutAtom,
    FAnimSequenceDecompressionContext& DecompContext,
    int32 TrackIndex
)

Extracts a single BoneAtom from an Animation Sequence.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback