Ejemplo n.º 1
0
        void SetWhiteRenderBackground(View3D view)
        {
            RenderingSettings rs = view.GetRenderingSettings();

            rs.BackgroundStyle = BackgroundStyle.Color;

            ColorBackgroundSettings cbs
                = (ColorBackgroundSettings)rs
                  .GetBackgroundSettings();

            cbs.Color = new Color(255, 0, 0);
            rs.SetBackgroundSettings(cbs);
            view.SetRenderingSettings(rs);
        }