How to change background color

Hi, when I load urhosharp view in my layout container, it is showing a black background. I want to change it to another color. How can I do it?

I tried to change background color of my layout container that contains urhosharp view. Also I was looking for option to set a color in skybox. But cannot solve it. Can you give me some directions?

Tagged:

Best Answers

Answers

  • MdTahmidMozaffarMdTahmidMozaffar USMember ✭✭

    Thank you for this solution. Actually I have tried this earlier but did not succeed. I have done this using another solution. Here is what I wrote to change the background of my urhosharp view.... This is working for me.

    var zone = Renderer.DefaultZone;
    zone.FogColor = new Color (0.65f, 0.8f, 0.6f, 0);

  • djgtramdjgtram HUMember ✭✭
    edited November 2018

    That's the color after the scene renders. But can we do something about the black showing while the scene starts?

  • kirpsy014kirpsy014 Member ✭✭

    Hi how can i render background color? Mine won't work when i type (BackgroundColor="#2f4259") in top of x:Class

Sign In or Register to comment.