FAnimationUtils::ComputeCompressionError

Utility function to measure the accuracy of a compressed animation.

Windows
MacOS
Linux

Syntax

static void ComputeCompressionError
(
    const UAnimSequence * AnimSeq,
    const TArray< FBoneData > & BoneData,
    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

References

Module

Engine

Header

Runtime/Engine/Public/AnimationUtils.h

Source

Runtime/Engine/Private/Animation/AnimationUtils.cpp

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback