FAnimSequenceDecompressionContext

Lightweight decompression context to match API of when USE_SEGMENT_CONTEXT is 1.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Animation/AnimSequenceDecompressionContext.h

Include

#include "Animation/AnimSequenceDecompressionContext.h"

Syntax

struct FAnimSequenceDecompressionContext

Remarks

Lightweight decompression context to match API of when USE_SEGMENT_CONTEXT is 1.

Variables

Name Description

Public variable

FName

 

AnimName

Public variable

bool

 

bHasScale

Public variable

const FUECompre...

 

CompressedAnimData

Public variable

EAnimInterpolat...

 

Interpolation

Public variable

float

 

RelativePos

Public variable

float

 

SequenceLength

Anim info.

Public variable

float

 

Time

Constructors

Name Description

Public function

FAnimSequenceDecompressionContext

(
    const FAnimSequenceDecompressionCon...
)

We don't disable copying but we also don't retain any state.

Public function

FAnimSequenceDecompressionContext

(
    const FCompressibleAnimData& Compr...,
    const FUECompressedAnimData& Compr...
)

Public function

FAnimSequenceDecompressionContext

(
    float SequenceLength,
    EAnimInterpolationType Interpolatio...,
    const FName& AnimName
,
    const FUECompressedAnimData& Compr...
)

Functions

Name Description

Public function Const

FName

 

GetAnimFName()

Public function Const

const uint8 ...

 

GetCompressedByteStream()

Public function Const

int32

 

GetCompressedNumberOfFrames()

Public function Const

const FCompr...

 

GetCompressedScaleOffsets()

Public function Const

const int32 ...

 

GetCompressedTrackOffsets()

Public function Const

EAnimInterpo...

 

GetInterpolation()

Public function Const

AnimEncoding...

 

GetRotationCodec()

Following just expose the properties of the anim sequence,.

Public function Const

AnimEncoding...

 

GetScaleCodec()

Public function Const

float

 

GetSequenceLength()

Public function Const

AnimEncoding...

 

GetTranslationCodec()

Public function

void

 

Seek

(
    float SampleAtTime
)

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