Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerMorphModelEditorModel
Description
Add bone influences to the mask. Every vertex that is linked to the specified bone will write its skinning weight to the mask buffer.
| Name | ApplyBoneToMask |
| 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 ApplyBoneToMask
(
int32 SkeletonBoneIndex,
TArrayView < float > MaskBuffer
)
Parameters
| Name | Remarks |
|---|---|
| SkeletonBoneIndex | The bone index inside our reference skeleton. |
| MaskBuffer | The mask buffer to write to. |