Navigation
API > API/Developer > API/Developer/MeshUtilitiesEngine > API/Developer/MeshUtilitiesEngine/FMeshUtilitiesEngine
Description
Calculate the verts associated weighted to each bone of the skeleton. The vertices returned are in the local space of the bone.
| Name | CalcBoneVertInfos |
| Type | function |
| Header File | /Engine/Source/Developer/MeshUtilitiesEngine/Public/MeshUtilitiesEngine.h |
| Include Path | #include "MeshUtilitiesEngine.h" |
| Source | /Engine/Source/Developer/MeshUtilitiesEngine/Private/MeshUtilitiesEngine.cpp |
static void CalcBoneVertInfos
(
USkeletalMesh * SkeletalMesh,
TArray < FBoneVertInfo > & Infos,
bool bOnlyDominant
)
Parameters
| Name | Remarks |
|---|---|
| SkeletalMesh | The target skeletal mesh. |
| Infos | The output array of vertices associated with each bone. |
| bOnlyDominant | Controls whether a vertex is added to the info for a bone if it is most controlled by that bone, or if that bone has ANY influence on that vert. |