AnimEncoding

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class AnimEncoding

Variables

Name Description

Protected variable

friend

 

FAnimSequenceDecompressionContext

Functions

Name Description

Public function Virtual

void

 

ByteSwapIn

(
    UAnimSequence& Seq,
    FMemoryReader& MemoryReader
)

Handles Byte-swapping incoming animation data from a MemoryReader

Public function Virtual

void

 

ByteSwapOut

(
    UAnimSequence& Seq,
    TArray< uint8 >& SerializedData,
    bool ForceByteSwapping
)

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

(
    const UAnimSequence& Seq,
    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

Protected function Static

float

 

TimeToIndex

(
    const UAnimSequence& Seq,
    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

Public function Static

float

 

TimeToIndex

(
    const FAnimSequenceDecompressionCon...,
    const uint8* TimeMarkers,
    uint32 NumKeys,
    uint32 NumFrames,
    uint8 TimeMarkerSize,
    float SegmentRelativePos,
    int32& FrameIndex0Out,
    int32& FrameIndex1Out
)

References

Module

Engine

Header

Runtime/Engine/Public/AnimEncoding.h

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