Gems/EMotionFX/Code/EMotionFX/Source/MeshDeformerStack.cpp
size_t MeshDeformerStack::EnableAllDeformersByType(uint32 deformerTypeID, bool enabled)
    {
        size_t numChanged = 0;
        for (MeshDeformer* deformer : m_deformers)
        {
             if (deformer->GetType() == deformerTypeID)
            {
                deformer->SetIsEnabled(enabled);
                numChanged++;
            }
        }

        return numChanged;
    }
// enabled or disable all controllers of a given type
enabled or disable all controllers of a given type
enabled or disable all controllers of a given type
size_t MeshDeformerStack::EnableAllDeformersByType(uint32 deformerTypeID, bool enabled)
    {
        size_t numChanged = 0;
        for (MeshDeformer* deformer : m_deformers)
        {
             if (deformer->GetType() == deformerTypeID)
            {
                deformer->SetIsEnabled(enabled);
                numChanged++;
            }
        }
        return numChanged;
    }
size_t MeshDeformerStack :: EnableAllDeformersByType ( uint32 deformerTypeID , bool enabled ) { size_t numChanged = 0 ; for ( MeshDeformer * deformer : m_deformers ) { if ( deformer -> GetType ( ) == deformerTypeID ) { deformer -> SetIsEnabled ( enabled ) ; numChanged ++ ; } } return numChanged ; }
enabled or disable all controllers of a given type
enabled or disable all controllers of a given type