示例#1
0
 public EnvironmentSettings(uint ambientcolor = 0x101010, uint recursionDepth = 0x01, uint lightTest = 0x01, uint antialiasingSqrt = 0x01, double dispersion = 0.0d, uint dispersionAntialias = 0x01)
 {
     this.AmbientColor = new ColorWrapper(ambientcolor);
     this.RecursionDepth = recursionDepth;
     this.LightTest = lightTest;
     this.AntiAliasingSqrt = antialiasingSqrt;
     this.DispersingAntiAliasingSqrt = dispersionAntialias;
 }
示例#2
0
 public LightWrapper(ColorWrapper cw, double radius, Point3 pos)
 {
     this.Position = pos;
     this.Radius = radius;
     this.Color = cw;
 }
示例#3
0
 public LightWrapper(Light light)
 {
     this.Position = light.Position;
     this.Color = new ColorWrapper(light.Color.RGB8);
     this.Radius = light.Radius;
 }