FAnimationRuntime::LerpPosesPerBone

Lerp for [FCompactPose](API\Runtime\Engine\FCompactPose).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AnimationRuntime.h

Include

#include "AnimationRuntime.h"

Source

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

Syntax

static void LerpPosesPerBone
(
    FCompactPose & PoseA,
    const FCompactPose & PoseB,
    FBlendedCurve & CurveA,
    const FBlendedCurve & CurveB,
    float Alpha,
    const TArray< float > & PerBoneWeights
)

Remarks

Lerp for FCompactPose. Stores results in PoseA. For each bone performs BoneA[i] = Lerp(BoneA[i], BoneB[i], Alpha * PerBoneWeights[i]);Interpolate, or extrapolate, between the 2 frames that are the closest to evaluation.

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