I am new to Helix and trying to create a simple box with transparent at run time with C#. I can see the box showing with transparency but there is no colour on the box. I dont know if i did anything wrong in my small piece of code:
Objects = new ObservableCollection<Visual3D>();
Objects.Add(new GridLinesVisual3D());
var color = Color.FromArgb(0x80, Colors.Red.R, Colors.Red.G, Colors.Red.B);
var b = new BoxVisual3D()
{
Width = 10,
Length = 10,
Height = 10,
};
var brush = new SolidColorBrush();
brush.Color = color;
b.Fill = brush;
Objects.Add(b);
Thank you very much in advance. Best regards