FAnimationCompression_PerTrackUtils::DecomposeHeader

Decomposes a header created with MakeHeader into three/four fields (two are still left packed into FormatFlags):

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AnimationCompression.h

Include

#include "AnimationCompression.h"

Syntax

static void DecomposeHeader
(
    int32 Header,
    int32 & KeyFormat,
    int32 & NumKeys,
    int32 & FormatFlags,
    int32 & BytesPerKey,
    int32 & FixedBytes
)

Remarks

Decomposes a header created with MakeHeader into three/four fields (two are still left packed into FormatFlags): And some derived values:

Parameters

Parameter

Description

Header

The header to decompose

KeyFormat

[OUT] The encoding format used for each key

NumKeys

[OUT] The number of keys in this track

FormatFlags

[OUT] Three bits of format-specific information and a single bit to indicate if a key->frame table follows the keys

BytesPerKey

[OUT] The number of bytes each key takes up

FixedBytes

[OUT] The number of fixed bytes at the head of the track stream

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