public void CopyFrom(QcPlaneProperties source) { base.CopyFrom(source); this.width = source.width; this.height = source.height; this.widthSegments = source.widthSegments; this.heightSegments = source.heightSegments; this.doubleSided = source.doubleSided; this.direction = source.direction; }
public bool Modified(QcPlaneProperties source) { if ((this.width == source.width) && (this.height == source.height) && (this.widthSegments == source.widthSegments) && (this.heightSegments == source.heightSegments) && (this.direction == source.direction) && (this.doubleSided == source.doubleSided) && (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); } }