Change the background color of the eve viewer

Dear Rooters,
As the title mentioned, I’m looking for the method to change the background color of the eve viewer. Yeah we can get it by adjusting the “clear color” button in the Eve Main Window. Is there any command I can use that has the same function?

Thanks a lot!

Hi,

Try this: gEve->GetDefaultGLViewer()->SetClearColor(Color_t col)
See the TGLViewer:SetClearColor documentation

Cheers, Bertrand.

Dear Bertrand,
This is what I need. Thank you! =D>