UAnimCompress::PackQuaternionToStream

Utility function to append a packed [FQuat](API\Runtime\Core\Math\FQuat) to a byte stream.

Windows
MacOS
Linux

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

Syntax

static void PackQuaternionToStream
(
    TArray< uint8 > & ByteStream,
    AnimationCompressionFormat Format,
    const FQuat & Quat,
    const float * Mins,
    const float * Ranges
)

Remarks

Utility function to append a packed FQuat to a byte stream.

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss