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; }
public LightWrapper(ColorWrapper cw, double radius, Point3 pos) { this.Position = pos; this.Radius = radius; this.Color = cw; }
public LightWrapper(Light light) { this.Position = light.Position; this.Color = new ColorWrapper(light.Color.RGB8); this.Radius = light.Radius; }