public static SunlightOrientationParameters operator +(SunlightOrientationParameters x, SunlightOrientationParameters y) { var addition = new SunlightOrientationParameters { yAxis = x.yAxis + y.yAxis, timeOfDay = x.timeOfDay + y.timeOfDay, lattitude = x.lattitude + y.lattitude, roll = x.roll + y.roll }; return(addition); }
public SunlightParameters(bool neutral) { orientationParameters = new SunlightOrientationParameters(true); lightParameters = new LightParameters(LightType.Directional, LightmapPresetBakeType.Mixed, true); }