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); }
public wAmbientLight(double Light_Intensity, wColor Light_Color) { Intensity = Light_Intensity; LightColor = new AdjustColor(Light_Color).SetLuminance(Intensity / 100.00); SetWPFLight(); }
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(); }
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(); }
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(); }