Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AnimationCompression.h |
Include |
#include "AnimationCompression.h" |
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 .. 2^Log2MaxValue. No clamping is done, values that don't fit will overflow.
For example, a Log2MaxValue of 0 can encode -1..1, and 7 can encode -128..128.
The quantized value
Parameter |
Description |
---|---|
Value |
Value to encode |
Log2MaxValue |
Encoding range (can be 0..15) |