Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerMorphModelDetails
References
| Module | MLDeformerFrameworkEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerMorphModelDetails.h |
| Include | #include "MLDeformerMorphModelDetails.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerMorphModelDetails.cpp |
bool ShouldShowShadingError() const
Remarks
Check whether we should show an error in the UI about possible shading artifacts. The ML Deformer cannot run properly if all of the following things are true:
- Skin cache is disabled
- Material settings have "Use with morph targets" disabled.
- No deformer graph is being used.
This method checks those points. If not, we can show a warning in the UI. Returns true if an error should be displayed in the UI about this issue.