Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/UAnimCompress
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 |
static void PackQuaternionToStream
(
TArray < uint8 > & ByteStream,
AnimationCompressionFormat Format,
const FQuat4f & Quat,
const float * Mins,
const float * Ranges
)
Remarks
Utility function to append a packed FQuat to a byte stream.
Parameters
| Name | Description |
|---|---|
| ByteStream | Byte stream to append to |
| Format | Compression format to pack with |
| Vec | The FQuat to pack |
| Mins | The range minimum of the input value to pack for range normalization |
| Ranges | The range extent of the input value to pack for range normalization |