If you talking direct sunlight in high heat...it pretty obvious. Your board can overheat but most of all the dome itself with discolor, possible deform, and cause malformed image. Domes are not meant to be in direct sunlight over time.
Advise, get another camera. Turret, bullet, etc.