FAnimationUtils::ComputeCompressionError

Utility function to measure the accuracy of a compressed animation.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AnimationUtils.h

Include

#include "AnimationUtils.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimationUtils.cpp

Syntax

static void ComputeCompressionError
(
    const FCompressibleAnimData & CompressibleAnimData,
    FCompressibleAnimDataResult & CompressedData,
    AnimationErrorStats & ErrorStats
)

Remarks

Utility function to measure the accuracy of a compressed animation. Each end-effector is checked for world-space movement as a result of compression.

Returns

None.

Parameters

Parameter

Description

AnimSet

The animset to calculate compression error for.

BoneData

BoneData array describing the hierarchy of the animated skeleton

ErrorStats

Output structure containing the final compression error values

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