AnimationFormat_GetStats

Extracts statistics about a given Animation Sequence

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AnimEncoding.h

Include

#include "AnimEncoding.h"

Source

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

Syntax

void AnimationFormat_GetStats
(
    const FUECompressedAnimData & CompressedData,
    int32 & NumTransTracks,
    int32 & NumRotTracks,
    int32 & NumScaleTracks,
    int32 & TotalNumTransKeys,
    int32 & TotalNumRotKeys,
    int32 & TotalNumScaleKeys,
    float & TranslationKeySize,
    float & RotationKeySize,
    float & ScaleKeySize,
    int32 & OverheadSize,
    int32 & NumTransTracksWithOneKey,
    int32 & NumRotTracksWithOneKey,
    int32 & NumScaleTracksWithOneKey
)

Remarks

Extracts statistics about a given Animation Sequence

Parameters

Parameter

Description

Seq

An Animation Sequence.

NumTransTracks

The total number of Translation Tracks found.

NumRotTracks

The total number of Rotation Tracks found.

TotalNumTransKeys

The total number of Translation Keys found.

TotalNumRotKeys

The total number of Rotation Keys found.

TranslationKeySize

The average size (in BYTES) of a single Translation Key.

RotationKeySize

The average size (in BYTES) of a single Rotation Key.

OverheadSize

The size (in BYTES) of overhead (offsets, scale tables, key->frame lookups, etc...)

NumTransTracksWithOneKey

The total number of Translation Tracks found containing a single key.

NumRotTracksWithOneKey

The total number of Rotation Tracks found containing a single key.

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