Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAnimationRuntime
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void BlendPosesTogetherIndirect
(
TArrayView< const FCompactPose*const > SourcePoses, |
Blends together a set of poses, each with a given weight. | AnimationRuntime.h | |
static void BlendPosesTogetherIndirect
(
TArrayView< const FCompactPose*const > SourcePoses, |
AnimationRuntime.h |
BlendPosesTogetherIndirect(TArrayView< const FCompactPose const >, TArrayView< const FBlendedCurve const >, TArrayView< const float >, FCompactPose &, FBlendedCurve &)
Description
Blends together a set of poses, each with a given weight. This function is lightweight, it does not cull out nearly zero weights or check to make sure weights sum to 1.0, the caller should take care of that if needed.
The blend is done by taking a weighted sum of each atom, and re-normalizing the quaternion part at the end, not using SLERP. This allows n-way blends, and makes the code much faster, though the angular velocity will not be constant across the blend.
| Name | BlendPosesTogetherIndirect |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/AnimationRuntime.h |
| Include Path | #include "AnimationRuntime.h" |
static void BlendPosesTogetherIndirect
(
TArrayView < const FCompactPose *const > SourcePoses,
TArrayView < const FBlendedCurve *const > SourceCurves,
TArrayView < const float > SourceWeights,
FCompactPose & ResultPose,
FBlendedCurve & ResultCurve
)
Parameters
| Name | Remarks |
|---|---|
| ResultPose | Output pose of relative bone transforms. |
BlendPosesTogetherIndirect(TArrayView< const FCompactPose const >, TArrayView< const FBlendedCurve const >, TArrayView< const UE::Anim::FStackAttributeContainer *const >, TArrayView< const float >, FAnimationPoseData &)
| Name | BlendPosesTogetherIndirect |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/AnimationRuntime.h |
| Include Path | #include "AnimationRuntime.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp |
static void BlendPosesTogetherIndirect
(
TArrayView < const FCompactPose *const > SourcePoses,
TArrayView < const FBlendedCurve *const > SourceCurves,
TArrayView < const UE::Anim::FStackAttributeContainer *const > SourceAttributes,
TArrayView < const float > SourceWeights,
FAnimationPoseData & OutPoseData
)