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(); }
public GeneralShadingDesc(GeneralShadingDesc toClone) { this.antiAliasing = toClone.antiAliasing; this.wireframe = toClone.wireframe; this.bgColor = toClone.bgColor; this.bgImg = toClone.bgImg; this.bgImgSize = toClone.bgImgSize; this.shadingMode = toClone.shadingMode; this.backgroundImgFilename = toClone.backgroundImgFilename; this.backgroundImgAlign = toClone.backgroundImgAlign; }