threejs-worldgen
    Preparing search index...

    Interface BuildingDetail

    A small box (or prism) on or against a building. Heights are metres above the building's base.

    interface BuildingDetail {
        angle: number;
        bottom: number;
        depth: number;
        kind: DetailKind;
        top: number;
        width: number;
        x: number;
        z: number;
    }
    Index
    angle: number

    Orientation, radians from +x.

    bottom: number

    Bottom, metres above the base.

    depth: number

    Size across angle, metres.

    What it is (sets shape and colour).

    top: number

    Top, metres above the base.

    width: number

    Size along angle, metres.

    x: number

    Centre.

    z: number

    Centre.