コード例 #1
0
 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();
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }