After upgrading to PowerToys 11.0 i have a problem with "BoxVisual3d.Children"
#1
Hi,

After upgrading to PowerToys 11.0 i have a problem with "BoxVisual3d.Children".

When i use the PowerToys 9.4 version the following code draws 2 boxes.

            BoxVisual3D b = new BoxVisual3D();
            b.Size = new Size3D(1000,1000, 1000);
            b.Material = new DiffuseMaterial(new SolidColorBrush(Colors.Gold));
            b.CenterPosition = new Point3D(0, 2000, 0);

            b.Children.Add(new BoxVisual3D(){Size = new Size3D(500,500,500),CenterPosition = new Point3D(0,0,0),Material = b.Material});

            MainViewPort3D.Children.Add(b);


But with the 11.0 version the "child" BoxVisual3D is not shown anymore.
  


Messages In This Thread
After upgrading to PowerToys 11.0 i have a problem with "BoxVisual3d.Children" - by close - 11-25-2023, 02:09 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)