Example #1
0
        public wLightLinear(double Light_Intensity, wLine Light_Line, wColor Light_Color)
        {
            Line = Light_Line;

            Intensity  = Light_Intensity;
            LightColor = new AdjustColor(Light_Color).SetLuminance(Intensity / 100.00);
        }
Example #2
0
        public wAmbientLight(double Light_Intensity, wColor Light_Color)
        {
            Intensity  = Light_Intensity;
            LightColor = new AdjustColor(Light_Color).SetLuminance(Intensity / 100.00);

            SetWPFLight();
        }
Example #3
0
        public wDirectionalLight(double Light_Intensity, wVector Light_Direction, wColor Light_Color)
        {
            Direction = Light_Direction;

            Intensity  = Light_Intensity;
            LightColor = new AdjustColor(Light_Color).SetLuminance(Intensity / 100.00);

            SetWPFLight();
        }
Example #4
0
        public wPointLight(double Light_Intensity, wPoint Light_Origin, wColor Light_Color)
        {
            Origin = Light_Origin;

            Intensity  = Light_Intensity;
            LightColor = new AdjustColor(Light_Color).SetLuminance(Intensity / 100.00);

            SetWPFLight();
        }
Example #5
0
        public wLightSpot(double Light_Intensity, wPoint Light_Location, wPoint Light_Target, double Light_InnerAngle, double Light_OuterAngle, wColor Light_Color)
        {
            Location = Light_Location;
            Target   = Light_Target;

            Intensity  = Light_Intensity;
            LightColor = new AdjustColor(Light_Color).SetLuminance(Intensity / 100.00);

            SetWPFLight();
        }