UAnimCompress::SeparateRawDataIntoTracks

Common compression utility to populate individual rotation and translation track arrays from a set of raw animation tracks.

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 SeparateRawDataIntoTracks
(
    const TArray< struct FRawAnimSequenceTrack > & RawAnimData,
    float SequenceLength,
    TArray< struct FTranslationTrack > & OutTranslationData,
    TArray< struct FRotationTrack > & OutRotationData,
    TArray< struct FScaleTrack > & OutScaleData
)

Remarks

Common compression utility to populate individual rotation and translation track arrays from a set of raw animation tracks. Used as a precurser to animation compression.

Parameters

Parameter

Description

RawAnimData

Array of raw animation tracks

SequenceLength

The duration of the animation in seconds

OutTranslationData

Translation tracks to fill

OutRotationData

Rotation tracks to fill

OutScaleData

Scale tracks to fill

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