public GeneralLightingDesc(GeneralLightingDesc toClone) { this.enabled = toClone.enabled; this.ambient = toClone.ambient; this.specular = specular; this.fixedLightPositions = toClone.fixedLightPositions; this.loadedFromFile = toClone.loadedFromFile; }
public CompleteOutputDescription(CompleteOutputDescription toClone) { generalShadingDesc = new GeneralShadingDesc(toClone.GeneralShadingDesc); generalLightingDesc = new GeneralLightingDesc(toClone.GeneralLightingDesc); atomShadingDesc = new AtomShadingDesc(toClone.AtomShadingDesc); bondShadingDesc = new BondShadingDesc(toClone.BondShadingDesc); //structuresShadingDesc = new GeneralStructuresShadingDesc(toClone.GeneralStructuresShadingDesc); schemeSettings = (MoleculeSchemeSettings)toClone.schemeSettings.Clone(); }