Cone

cone

Very fancy for tower’s roof.

Properties

property display: cone;
Required YES
property roof: SELECTOR-TO-WALL | null;
Default null

Wall of side faces stretched vertically.

property sides: INTEGER;
Default 8

Number of cone sides. If have more sides then is more circular:

../../../_images/cone-6-sides.png

sides: 6

../../../_images/cone-12-sides.png

sides: 12

Example

roof {
    display: cone;
    width: 100;
    depth: 100;
    height: 100;

    roof: wall.roof;
    sides: 32;
}

You can try in on https://pixelopolis.herokuapp.com/examples/Basic-shapes/Cone