UAnimCompress::PackVectorToStream

Utility function to append a packed [FVector](API\Runtime\Core\Math\FVector) 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 PackVectorToStream
(
    TArray< uint8 > & ByteStream,
    AnimationCompressionFormat Format,
    const FVector & Vec,
    const float * Mins,
    const float * Ranges
)

Remarks

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

Parameters

Parameter

Description

ByteStream

Byte stream to append to

Format

Compression format to pack with

Vec

The FVector 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