UAnimCompress::BitwiseCompressAnimationTracks

Encodes individual key arrays into an AnimSequence using the desired bit packing formats.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimCompress.h

Include

#include "Animation/AnimCompress.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimCompress.cpp

Syntax

static void BitwiseCompressAnimationTracks
(
    const FCompressibleAnimData & CompressibleAnimData,
    FCompressibleAnimDataResult & OutCompressedData,
    AnimationCompressionFormat TargetTranslationFormat,
    AnimationCompressionFormat TargetRotationFormat,
    AnimationCompressionFormat TargetScaleFormat,
    const TArray< FTranslationTrack > & TranslationData,
    const TArray< FRotationTrack > & RotationData,
    const TArray< FScaleTrack > & ScaleData,
    bool IncludeKeyTable
)

Remarks

Encodes individual key arrays into an AnimSequence using the desired bit packing formats.

Parameters

Parameter

Description

Seq

Pointer to an Animation Sequence which will contain the bit-packed data .

TargetTranslationFormat

The format to use when encoding translation keys.

TargetRotationFormat

The format to use when encoding rotation keys.

TargetScaleFormat

The format to use when encoding scale keys.

TranslationData

Translation Tracks to bit-pack into the Animation Sequence.

RotationData

Rotation Tracks to bit-pack into the Animation Sequence.

ScaleData

Scale Tracks to bit-pack into the Animation Sequence.

IncludeKeyTable

true if the compressed data should also contain a table of frame indices for each key. (required by some codecs)

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