Пример #1
0
 public void CopyFrom(LightSetting ls)
 {
     this.Enabled           = ls.Enabled;
     this.IsWorldCoordinate = ls.IsWorldCoordinate;
     this.AmbientColor      = ls.AmbientColor;
     this.DiffuseColor      = ls.DiffuseColor;
     this.SpecularColor     = ls.SpecularColor;
     this.Position          = ls.Position;
 }
Пример #2
0
 public void CopyTo(LightSetting ls)
 {
     ls.Enabled           = this.Enabled;
     ls.IsWorldCoordinate = this.IsWorldCoordinate;
     ls.AmbientColor      = this.AmbientColor;
     ls.DiffuseColor      = this.DiffuseColor;
     ls.SpecularColor     = this.SpecularColor;
     ls.Position          = this.Position;
 }