Hi, i’m student in belgium
I would like to make a script allowing me to change the color of the rendering background.
I think I found the object properties in the documentation
private void RunScript(bool switcher, System.Drawing.Color colorTop, System.Drawing.Color colorBottom, ref object A)
{
if (switcher == true)
{
Rhino.Render.RenderSettings setting = new Rhino.Render.RenderSettings();
setting.BackgroundColorTop = colorTop;
setting.BackgroundColorBottom = colorBottom;
}
else
{
}
}
I tried to change it but nothing happens because I think it is a new object with new parameters…
Do you know how I could send these new parameters in the viewport real time rendering ?
Best regards,
kub!