Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FMeshBones
Description
Return an array of indices into the bone attribute arrays of all the children of the bone. Optionally, recursively add all grandchildren via a breadth-first search.
| Name | GetBoneChildren |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/MeshBones.h |
| Include Path | #include "DynamicMesh/MeshBones.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/MeshBones.cpp |
static bool GetBoneChildren
(
const FDynamicMesh3 & Mesh,
int32 BoneIndex,
TArray < int32 > & ChildrenIndices,
bool bRecursive
)
Parameters
| Name | Remarks |
|---|---|
| BoneIndex | the index of the bone whose children we are requesting |
| bRecursive | if true, recursively add all grandchildren |