Gems/EMotionFX/Code/EMotionFX/Source/Actor.cpp
size_t Actor::FindNodeGroupIndexByName(const char* groupName) const
    {
        const auto found = AZStd::find_if(begin(m_nodeGroups), end(m_nodeGroups), [groupName](const NodeGroup* nodeGroup)
        {
            return nodeGroup->GetNameString() == groupName;
        });
        return found != end(m_nodeGroups) ? AZStd::distance(begin(m_nodeGroups), found) : InvalidIndex;
    }
// find a group index by its name
find a group index by its name
find a group index by its name
size_t Actor::FindNodeGroupIndexByName(const char* groupName) const
    {
        const auto found = AZStd::find_if(begin(m_nodeGroups), end(m_nodeGroups), [groupName](const NodeGroup* nodeGroup)
        {
            return nodeGroup->GetNameString() == groupName;
        });
        return found != end(m_nodeGroups) ? AZStd::distance(begin(m_nodeGroups), found) : InvalidIndex;
    }
size_t Actor :: FindNodeGroupIndexByName ( const char * groupName ) const { const auto found = AZStd :: find_if ( begin ( m_nodeGroups ) , end ( m_nodeGroups ) , [ groupName ] ( const NodeGroup * nodeGroup ) { return nodeGroup -> GetNameString ( ) == groupName ; } ) ; return found != end ( m_nodeGroups ) ? AZStd :: distance ( begin ( m_nodeGroups ) , found ) : InvalidIndex ; }
find a group index by its name
find a group index by its name