Пример #1
0
 void ResetLight()
 {
     Shadow = DefaultShadowlight;
     PackedCol.GetShaded(Shadow, out ShadowXSide,
                         out ShadowZSide, out ShadowYBottom);
     Sun = DefaultSunlight;
     PackedCol.GetShaded(Sun, out SunXSide,
                         out SunZSide, out SunYBottom);
 }
Пример #2
0
 void SetShadow(PackedCol col)
 {
     shadow = col;
     PackedCol.GetShaded(col, out shadowXSide, out shadowZSide, out shadowYBottom);
 }
Пример #3
0
 void SetSun(PackedCol col)
 {
     Outside = col;
     PackedCol.GetShaded(col, out OutsideXSide, out OutsideZSide, out OutsideYBottom);
 }
Пример #4
0
 public void SetShadowCol(PackedCol col)
 {
     PackedCol.GetShaded(col, out ShadowXSide,
                         out ShadowZSide, out ShadowYBottom);
     Set(col, ref Shadow, EnvVar.ShadowCol);
 }
Пример #5
0
 public void SetSunCol(PackedCol col)
 {
     PackedCol.GetShaded(col, out SunXSide,
                         out SunZSide, out SunYBottom);
     Set(col, ref Sun, EnvVar.SunCol);
 }