public void CopyFrom(QcColumnProperties source) { base.CopyFrom(source); this.width = source.width; this.depth = source.depth; this.height = source.height; this.sides = source.sides; this.triangleIncline = source.triangleIncline; this.hollow.enabled = source.hollow.enabled; this.hollow.ratio = source.hollow.ratio; }
public bool Modified(QcColumnProperties source) { if ((this.width == source.width) && (this.depth == source.depth) && (this.height == source.height) && (this.sides == source.sides) && (this.triangleIncline == source.triangleIncline) && (this.hollow.enabled == source.hollow.enabled) && (this.hollow.ratio == source.hollow.ratio) && (this.genTextureCoords == source.genTextureCoords) && (this.addCollider == source.addCollider) && (this.offset[0] == source.offset[0]) && (this.offset[1] == source.offset[1]) && (this.offset[2] == source.offset[2])) { return(false); } else { return(true); } }