Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AnimEncoding.h |
Include |
#include "AnimEncoding.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Animation/AnimEncoding.cpp |
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
)
Extracts statistics about a given Animation Sequence
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. |