public ProceduralGabledRoof(List <Vector2> foundationPolygon, RoofConfig roofConfig, Color roofColor) : base(foundationPolygon, roofConfig, roofColor) { }
protected static MeshDraft ConstructBorder(List <Vector2> roofPolygon2, List <Vector3> roofPolygon3, RoofConfig roofConfig) { List <Vector3> upperRing = roofPolygon2.ConvertAll(v => v.ToVector3XZ() + Vector3.up * roofConfig.thickness); return(new MeshDraft().AddFlatQuadBand(roofPolygon3, upperRing, false)); }
protected ProceduralRoof(List <Vector2> foundationPolygon, RoofConfig roofConfig, Color roofColor) { this.foundationPolygon = foundationPolygon; this.roofConfig = roofConfig; this.roofColor = roofColor; }