VisualPOVRAY.Sphere.Sphere C# (CSharp) Method

Sphere() public method

public Sphere ( Point3 location = null, float radius = 1.0f, Signal rrad = null, Point3 translate = null, Point3 rotation = null, PovTexture texture = null, String finish = null, bool reactive = false ) : System
location Point3
radius float
rrad Signal
translate Point3
rotation Point3
texture PovTexture
finish String
reactive bool
return System
        public Sphere(Point3 location = null, float radius = 1.0f, Signal<float> rrad = null, Point3 translate = null, Point3 rotation = null, PovTexture texture = null, String finish = null, bool reactive = false)
        {
            this.reactive = reactive;
            this.location = location ?? new Point3(0, 0, 0, reactive: reactive);
            this.translate = translate ?? new Point3(0, 0, 0, reactive: reactive);
            this.rotation = rotation ?? new Point3(0, 0, 0, reactive: reactive);
            this.texture = texture ?? new POVColor("Red");
            this.finish = finish ?? "finish {phong .9 reflection .5}";
            this.radius = rrad ?? new Lift0f(radius);
        }