AEFPerTrackCompressionCodec

Decompression codec for the per-track compressor.

Windows
MacOS
Linux

Inheritance Hierarchy

AnimEncoding

AEFPerTrackCompressionCodec

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AnimEncoding_PerTrackCompression.h

Include

#include "AnimEncoding_PerTrackCompression.h"

Syntax

class AEFPerTrackCompressionCodec : public AnimEncoding

Remarks

Decompression codec for the per-track compressor.

Functions

Name Description

Protected function 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

Protected function Static

void

 

GetBoneAtomRotation

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

Decompress the Rotation component of a BoneAtom

Protected function Static

void

 

GetBoneAtomScale

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

Decompress the Scale component of a BoneAtom

Protected function Static

void

 

GetBoneAtomTranslation

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

Decompress the Translation component of a BoneAtom

Protected function Static

void

 

PreservePadding

(
    uint8*& TrackData,
    FMemoryArchive& MemoryStream
)

Preserves 4 byte alignment within a stream

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.

Public function Virtual

void

 

GetPoseRotations

(
    FTransformArray& Atoms,
    const BoneTrackArray& DesiredPairs,
    FAnimSequenceDecompressionContext& DecompContext
)

Decompress all requested rotation components from an Animation Sequence

Public function Virtual

void

 

GetPoseScales

(
    FTransformArray& Atoms,
    const BoneTrackArray& DesiredPairs,
    FAnimSequenceDecompressionContext& DecompContext
)

Decompress all requested Scale components from an Animation Sequence

Public function Virtual

void

 

GetPoseTranslations

(
    FTransformArray& Atoms,
    const BoneTrackArray& DesiredPairs,
    FAnimSequenceDecompressionContext& DecompContext
)

Decompress all requested translation components 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