Navigation
API > API/Plugins > API/Plugins/NearestNeighborModelEditor > API/Plugins/NearestNeighborModelEditor/FNearestNeighborEditorModel
- FMLDeformerMorphModelEditorModel::IsMorphWeightClampingSupported()
- FNearestNeighborEditorModel::IsMorphWeightClampingSupported()
References
| Module | NearestNeighborModelEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Public/NearestNeighborEditorModel.h |
| Include | #include "NearestNeighborEditorModel.h" |
virtual bool IsMorphWeightClampingSupported() const
Remarks
Returns whether this model supports morph output weight clamping or not. This is used to make sure the morph target weights are within valid ranges. Some models might choose not to do this, because they might already clamp input values. When this returns false, the "Clamp morph weights" option in the UI will also be hidden.