Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerMorphModel
Description
Check whether clamping of morph target weights is enabled. If enabled, the weights that are output will be clamped to the minimum and maximum values that are defined in the values returned by GetMorphTargetsMinMaxWeights(). It is up to the model to actually call the ClampMorphTargetWeights method though. You can check if a model supports weight clamping by calling FMLDeformerMorphModelEditorModel::IsMorphWeightClampingSupported(). If that would return false, even enabling clamping using SetClampMorphTargetsWeights(true) will not do anything.
| Name | IsMorphWeightClampingEnabled |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerMorphModel.h |
| Include Path | #include "MLDeformerMorphModel.h" |
bool IsMorphWeightClampingEnabled() const
Returns true when clamping is enabled, otherwise false is returned.