FAnimationRuntime::EnsureParentsPresent

Utility for taking an array of bone indices and ensuring that all parents are present (ie. all bones between those in the array and the root are present).

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 EnsureParentsPresent
(
    TArray< FBoneIndexType > & BoneIndices,
    const FReferenceSkeleton & RefSkeleton
)

Remarks

Utility for taking an array of bone indices and ensuring that all parents are present (ie. all bones between those in the array and the root are present).

that this must ensure the invariant that parent occur before children in BoneIndices. Utility for taking an array of bone indices and ensuring that all parents are present (ie. all bones between those in the array and the root are present). Note that this must ensure the invariant that parent occur before children in BoneIndices.

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