Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAnimationRuntime > API/Runtime/Engine/FAnimationRuntime/BlendPosesTogetherPerBoneInMeshS-
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/AnimationRuntime.h |
| Include | #include "AnimationRuntime.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp |
static void BlendPosesTogetherPerBoneInMeshSpace
(
TArrayView < FCompactPose > SourcePoses,
TArrayView < const FBlendedCurve > SourceCurves,
const UBlendSpace * BlendSpace,
TArrayView < const FBlendSampleData > BlendSampleDataCache,
FCompactPose & OutResultPose,
FBlendedCurve & OutResultCurve
)
Remarks
Blends together a set of local space (not mesh space) poses, each with a given weight. This function is for BlendSpace per bone blending. BlendSampleDataCache contains the weight information
This blends the rotations in mesh space, so is performance intensive as it requires a conversion from joint rotations into mesh space, then the blend, then a conversion back.
Parameters
| Name | Description |
|---|---|
| OutResultPose | Output blended pose of relative bone transforms. |
| OutResultCurve | Output blended curves |