Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerMorphModelDetails
Description
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.
| Name | ShouldShowShadingError |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerMorphModelDetails.h |
| Include Path | #include "MLDeformerMorphModelDetails.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerMorphModelDetails.cpp |
bool ShouldShowShadingError() const
Returns true if an error should be displayed in the UI about this issue.