Exemple #1
0
 protected virtual void CloneCore(Fog source)
 {
     Name               = source.Name;
     Density            = source.Density;
     HeightFalloff      = source.HeightFalloff;
     Height0            = source.Height0;
     Color0             = source.Color0;
     Height1            = source.Height1;
     Color1             = source.Color1;
     Start              = source.Start;
     End                = source.End;
     ScatteringSymmetry = source.ScatteringSymmetry;
     // Density0 and Density1 are computed from Density and HeightFalloff.
 }
Exemple #2
0
 protected virtual void CloneCore(Fog source)
 {
     Name = source.Name;
       Density = source.Density;
       HeightFalloff = source.HeightFalloff;
       Height0 = source.Height0;
       Color0 = source.Color0;
       Height1 = source.Height1;
       Color1 = source.Color1;
       Start = source.Start;
       End = source.End;
       ScatteringSymmetry = source.ScatteringSymmetry;
       // Density0 and Density1 are computed from Density and HeightFalloff.
 }