AnimEncoding

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "AnimEncoding.h"

Syntax

class AnimEncoding

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

 

GetPoseRotations

(
    TArrayView< FTransform >& Atoms,
    const BoneTrackArray& DesiredPairs,
    FAnimSequenceDecompressionContext&...
)

Decompress all requested rotation components from an Animation Sequence

Public function Virtual

void

 

GetPoseScales

(
    TArrayView< FTransform >& Atoms,
    const BoneTrackArray& DesiredPairs,
    FAnimSequenceDecompressionContext&...
)

Decompress all requested translation components from an Animation Sequence

Public function Virtual

void

 

GetPoseTranslations

(
    TArrayView< FTransform >& 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

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