Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerMorphModelEditorModel
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RecursiveAddBoneToMaskUpwards
(
const FReferenceSkeleton& RefSkel, |
Recursively add bone masks for this bone and its parents. | MLDeformerMorphModelEditorModel.h | |
void RecursiveAddBoneToMaskUpwards
(
const FReferenceSkeleton& RefSkel, |
MLDeformerMorphModelEditorModel.h |
RecursiveAddBoneToMaskUpwards(const FReferenceSkeleton &, int32, int32, TArray< int32 > &, int32)
Description
Recursively add bone masks for this bone and its parents. The number of parents is controlled by the MaxHierarchyDepth.
| Name | RecursiveAddBoneToMaskUpwards |
| 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 |
void RecursiveAddBoneToMaskUpwards
(
const FReferenceSkeleton & RefSkel,
int32 SkeletonBoneIndex,
int32 MaxHierarchyDepth,
TArray < int32 > & OutBonesAdded,
int32 CurHierarchyDepth
)
Parameters
| Name | Remarks |
|---|---|
| RefSkel | The reference skeleton. |
| SkeletonBoneIndex | The bone index of our current bone to add to the mask. |
| MaxHierarchyDepth | The maximum hierarchy depth. If this is 1, it means that we visit only up to the parent of the specified bone. If it is 2, we also visit the parent of the parent, etc. |
| OutBoneAdded | The list of bones that we already added to the mask. Bones that are in this list will not be added to the mask again. |
| CurHierarchyDepth | The current recursive hierarchy depth. This is used to track how deep we are when moving up the hierarchy. A value of 1 means we are currently adding the parent of the initial bone. |
RecursiveAddBoneToMaskUpwards(const FReferenceSkeleton &, int32, int32, const TArray< int32 > &, TArray< int32 > &, int32)
| Name | RecursiveAddBoneToMaskUpwards |
| 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 |
void RecursiveAddBoneToMaskUpwards
(
const FReferenceSkeleton & RefSkel,
int32 SkeletonBoneIndex,
int32 MaxHierarchyDepth,
const TArray < int32 > & VirtualParentTable,
TArray < int32 > & OutBonesAdded,
int32 CurHierarchyDepth
)