threejs-worldgen
    Preparing search index...

    Interface DetailInstance

    One placed detail: shape, position (relative to the settlement centre), yaw and size.

    interface DetailInstance {
        angle: number;
        depth: number;
        height: number;
        shape: number;
        width: number;
        x: number;
        y: number;
        z: number;
    }
    Index
    angle: number

    Yaw, radians from +x.

    depth: number

    Size across angle.

    height: number

    Height.

    shape: number

    Index into DETAIL_SHAPES.

    width: number

    Size along angle.

    x: number

    Base centre.

    y: number

    Bottom height.

    z: number

    Base centre.