Navigation
API > API/Plugins > API/Plugins/NeuralMorphModelEditor > API/Plugins/NeuralMorphModelEditor/FNeuralMorphEditorModel
References
| Module | NeuralMorphModelEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/NeuralMorphModel/Source/NeuralMorphModelEditor/Public/NeuralMorphEditorModel.h |
| Include | #include "NeuralMorphEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/NeuralMorphModel/Source/NeuralMorphModelEditor/Private/NeuralMorphEditorModel.cpp |
void BuildMaskBuffer
&40;
TArray< float > & OutMaskBuffer
&41;
Remarks
Build a set of masks, all concatenated into one flat array. The number of masks is (NumBones + NumCurves + NumBoneGroups + NumCurveGroups). Each mask contains Model->GetNumBaseMeshVerts() number of floats. The masks for curves and curve groups are all set to 1.0. The masks for bones and bone groups contain all the vertices they influence during skinning, as well as the ones from the parent bone. This will modify the item mask buffer as returned by UMLDeformerMorphModel::GetInputItemMaskBuffer().
Parameters
| Name | Description |
|---|---|
| OutMaskBuffer | The mask buffer to write to. This will automatically be resized. |