Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AnimationCompression.h |
Include |
#include "AnimationCompression.h" |
class FAnimationCompression_PerTrackUtils
This class contains helper methods for dealing with animations compressed with the per-track codec
Name | Description | ||
---|---|---|---|
|
CompressFixed16 ( |
Log2MaxValue of 0 => -1..1 Log2MaxValue of 7 => -128..128 Can be 0..15 Compresses a float into a signed fixed point number, which can range from the symmetrical values of -2^Log2MaxValue .. |
|
|
DecomposeHeader |
Decomposes a header created with MakeHeader into three/four fields (two are still left packed into FormatFlags): |
|
|
DecomposeHeader |
Decomposes a header created with MakeHeader into three/four fields (two are still left packed into FormatFlags): |
|
|
float |
DecompressFixed16 ( |
Decompresses a fixed point number encoded by ComrpessFixed16 |
|
float |
DecompressFixed16 ( |
|
|
DecompressRotation |
Decompress a single rotation key from a single track that was compressed with the PerTrack codec (scalar) |
|
|
DecompressScale |
Decompress a single Scale key from a single track that was compressed with the PerTrack codec (scalar) |
|
|
DecompressTranslation |
Decompress a single translation key from a single track that was compressed with the PerTrack codec (scalar) |
|
|
GetAllSizesFromFormat |
Figures out the size of various parts of a compressed track from the format and format flags combo |
|
|
GetByteSizesFromFormat |
||
|
GetKeyCountFromHeader ( |
Extracts the number of keys from a header created by MakeHeader |
|
|
MakeHeader |
Creates a header integer with four fields: NumKeys can be no more than 24 bits (positions 0..23) KeyFlags can be no more than 3 bits (positions 24..27) bReallyNeedsFrameTable is a single bit (position 27) KeyFormat can be no more than 4 bits (positions 31..28) |