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; }
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; }