Navigation
API > API/Plugins > API/Plugins/NeuralMorphModelEditor > API/Plugins/NeuralMorphModelEditor/FNeuralMorphEditorModel
Description
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().
| Name | BuildMaskBuffer |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/NeuralMorphModel/Source/NeuralMorphModelEditor/Public/NeuralMorphEditorModel.h |
| Include Path | #include "NeuralMorphEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/NeuralMorphModel/Source/NeuralMorphModelEditor/Private/NeuralMorphEditorModel.cpp |
void BuildMaskBuffer
(
TArray < float > & OutMaskBuffer
)
Parameters
| Name | Remarks |
|---|---|
| OutMaskBuffer | The mask buffer to write to. This will automatically be resized. |