Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AnimationRuntime.h |
Include |
#include "AnimationRuntime.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp |
static void LerpPosesPerBone
(
FCompactPose & PoseA,
const FCompactPose & PoseB,
FBlendedCurve & CurveA,
const FBlendedCurve & CurveB,
float Alpha,
const TArray< float > & PerBoneWeights
)
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.