Physical Processes in Gaseous Nebulae. VIII. The Ultraviolet Radiation Field and Electron Temperature of an Optically Thick Nebula.