AnimEncoding

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "AnimEncoding.h"

Syntax

class AnimEncoding

Variables

Name Description

Protected variable

friend

 

FAnimSequenceDecompressionContext

Functions

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

Public function Virtual

void

 

GetBoneAtom

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

Extracts a single BoneAtom from an Animation Sequence.

Public function Virtual

void

 

GetPoseRotations

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

Decompress all requested rotation components from an Animation Sequence

Public function Virtual

void

 

GetPoseScales

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

Decompress all requested translation components from an Animation Sequence

Public function Virtual

void

 

GetPoseTranslations

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

Decompress all requested translation components from an Animation Sequence

Protected function Static

float

 

TimeToIndex

(
    float SequenceLength,
    float RelativePos,
    int32 NumKeys,
    EAnimInterpolationType Interpolatio...,
    int32& PosIndex0Out,
    int32& PosIndex1Out
)

Utility function to determine the two key indices to interpolate given a relative position in the animation

Protected function Static

float

 

TimeToIndex

(
    EAnimInterpolationType Interpolatio...,
    int32 NumberOfFrames,
    const uint8* FrameTable,
    float RelativePos,
    int32 NumKeys,
    int32& PosIndex0Out,
    int32& PosIndex1Out
)

Utility function to determine the two key indices to interpolate given a relative position in the animation

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