コード例 #1
0
 public CloudLayerColors(TimeOfDayColors Layer0, TimeOfDayColors Layer1, TimeOfDayColors Layer2, TimeOfDayColors Layer3)
 {
     this.Layer0 = Layer0;
     this.Layer1 = Layer1;
     this.Layer2 = Layer2;
     this.Layer3 = Layer3;
 }
コード例 #2
0
 public CloudLayerColors(string Tag = null)
     : base(Tag)
 {
     Layer0 = new TimeOfDayColors();
     Layer1 = new TimeOfDayColors();
     Layer2 = new TimeOfDayColors();
     Layer3 = new TimeOfDayColors();
 }
コード例 #3
0
 public EnvironmentalColors(TimeOfDayColors SkyUpper, TimeOfDayColors Fog, TimeOfDayColors Unused1, TimeOfDayColors Ambient, TimeOfDayColors Sunlight, TimeOfDayColors Sun, TimeOfDayColors Stars, TimeOfDayColors SkyLower, TimeOfDayColors Horizon, TimeOfDayColors Unused2)
 {
     this.SkyUpper = SkyUpper;
     this.Fog      = Fog;
     this.Unused1  = Unused1;
     this.Ambient  = Ambient;
     this.Sunlight = Sunlight;
     this.Sun      = Sun;
     this.Stars    = Stars;
     this.SkyLower = SkyLower;
     this.Horizon  = Horizon;
     this.Unused2  = Unused2;
 }
コード例 #4
0
 public EnvironmentalColors(string Tag = null)
     : base(Tag)
 {
     SkyUpper = new TimeOfDayColors();
     Fog      = new TimeOfDayColors();
     Unused1  = new TimeOfDayColors();
     Ambient  = new TimeOfDayColors();
     Sunlight = new TimeOfDayColors();
     Sun      = new TimeOfDayColors();
     Stars    = new TimeOfDayColors();
     SkyLower = new TimeOfDayColors();
     Horizon  = new TimeOfDayColors();
     Unused2  = new TimeOfDayColors();
 }
コード例 #5
0
 public EnvironmentalColors(EnvironmentalColors copyObject)
 {
     if (copyObject.SkyUpper != null)
     {
         SkyUpper = (TimeOfDayColors)copyObject.SkyUpper.Clone();
     }
     if (copyObject.Fog != null)
     {
         Fog = (TimeOfDayColors)copyObject.Fog.Clone();
     }
     if (copyObject.Unused1 != null)
     {
         Unused1 = (TimeOfDayColors)copyObject.Unused1.Clone();
     }
     if (copyObject.Ambient != null)
     {
         Ambient = (TimeOfDayColors)copyObject.Ambient.Clone();
     }
     if (copyObject.Sunlight != null)
     {
         Sunlight = (TimeOfDayColors)copyObject.Sunlight.Clone();
     }
     if (copyObject.Sun != null)
     {
         Sun = (TimeOfDayColors)copyObject.Sun.Clone();
     }
     if (copyObject.Stars != null)
     {
         Stars = (TimeOfDayColors)copyObject.Stars.Clone();
     }
     if (copyObject.SkyLower != null)
     {
         SkyLower = (TimeOfDayColors)copyObject.SkyLower.Clone();
     }
     if (copyObject.Horizon != null)
     {
         Horizon = (TimeOfDayColors)copyObject.Horizon.Clone();
     }
     if (copyObject.Unused2 != null)
     {
         Unused2 = (TimeOfDayColors)copyObject.Unused2.Clone();
     }
 }
コード例 #6
0
 public CloudLayerColors(CloudLayerColors copyObject)
 {
     if (copyObject.Layer0 != null)
     {
         Layer0 = (TimeOfDayColors)copyObject.Layer0.Clone();
     }
     if (copyObject.Layer1 != null)
     {
         Layer1 = (TimeOfDayColors)copyObject.Layer1.Clone();
     }
     if (copyObject.Layer2 != null)
     {
         Layer2 = (TimeOfDayColors)copyObject.Layer2.Clone();
     }
     if (copyObject.Layer3 != null)
     {
         Layer3 = (TimeOfDayColors)copyObject.Layer3.Clone();
     }
 }