Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerMorphModelEditorModel
Description
Find the virtual parent for a given bone. For more information see the BuildVirtualParentTable method.
| Name | FindVirtualParentIndex |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerMorphModelEditorModel.h |
| Include Path | #include "MLDeformerMorphModelEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerMorphModelEditorModel.cpp |
int32 FindVirtualParentIndex
(
const FReferenceSkeleton & RefSkel,
int32 BoneIndex,
const TArray < FName > & IncludedBoneNames
) const
The bone index that is the virtual parent for the specified bone. This can point to itself in case it is in the included bone names list.
Parameters
| Name | Remarks |
|---|---|
| RefSkel | The reference skeleton. |
| BoneIndex | The index of the bone in the reference skeleton to get the virtual parent for. |
| IncludedBoneNames | The list of bones that the ML Deformer model uses as inputs. |