Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerEditorModel
References
| Module | MLDeformerFrameworkEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerEditorModel.h |
| Include | #include "MLDeformerEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerEditorModel.cpp |
void CompressEngineMorphTargets
(
FMorphTargetVertexInfoBuffers & OutMorphBuffers,
const TArray < UMorphTarget * > & MorphTargets,
int32 LOD,
float MorphErrorTolerance
)
Remarks
Compress morph targets into GPU based morph buffers.
Parameters
| Name | Description |
|---|---|
| OutMorphBuffers | The output compressed GPU based morph buffers. If this buffer is already initialized it will be released first. |
| MorphTargets | The morph targets to compress into GPU friendly buffers. |
| LOD | The LOD index to generate the morphs for. |
| MorphErrorTolerance | The error tolerance for the delta compression, in cm. Higher values compress better but can result in artifacts. |