public NNS_MATERIAL_DESC(AppMain.NNS_MATERIAL_DESC desc) { this.fFlag = desc.fFlag; this.User = desc.User; this.pColor = desc.pColor; this.pBackColor = desc.pBackColor; this.pLogic = desc.pLogic; this.nTex = desc.nTex; this.pTexDesc = desc.pTexDesc; }
public AppMain.NNS_MATERIAL_DESC Assign(AppMain.NNS_MATERIAL_DESC desc) { this.fFlag = desc.fFlag; this.User = desc.User; this.pColor = desc.pColor; this.pBackColor = desc.pBackColor; this.pLogic = desc.pLogic; this.nTex = desc.nTex; this.pTexDesc = desc.pTexDesc; return(this); }