Gems/EMotionFX/Code/EMotionFX/Source/MotionManager.cpp
MotionSet* MotionManager::FindMotionSetByID(uint32 id) const
    {
        const auto foundMotionSet = AZStd::find_if(begin(m_motionSets), end(m_motionSets), [id](const MotionSet* motionSet)
        {
            return motionSet->GetID() == id;
        });
        return foundMotionSet != end(m_motionSets) ? *foundMotionSet : nullptr;
    }
// find the motion set with the given and return it, nullptr if the motion set won't be found
find the motion set with the given and return it, nullptr if the motion set won't be found
find the motion set with the given and return it nullptr if the motion set won ' t be found
MotionSet* MotionManager::FindMotionSetByID(uint32 id) const
    {
        const auto foundMotionSet = AZStd::find_if(begin(m_motionSets), end(m_motionSets), [id](const MotionSet* motionSet)
        {
            return motionSet->GetID() == id;
        });
        return foundMotionSet != end(m_motionSets) ? *foundMotionSet : nullptr;
    }
MotionSet * MotionManager :: FindMotionSetByID ( uint32 id ) const { const auto foundMotionSet = AZStd :: find_if ( begin ( m_motionSets ) , end ( m_motionSets ) , [ id ] ( const MotionSet * motionSet ) { return motionSet -> GetID ( ) == id ; } ) ; return foundMotionSet != end ( m_motionSets ) ? * foundMotionSet : nullptr ; }
find the motion set with the given and return it, nullptr if the motion set won't be found
find the motion set with the given and return it nullptr if the motion set won ' t be found