<a-cone>
Note: This documentation is for the old 0.2.0 version of A-Frame. Check out the documentation for the current 1.7.0 version
The cone primitive creates a cone shape. It is an entity that prescribes the geometry with its geometric primitive set to cone.
Example
<a-assets> |
Attributes
Note that the cone primitive inherits common mesh attributes.
| Attribute | Component Mapping | Default Value |
|---|---|---|
| height | geometry.height | 1.5 |
| open-ended | geometry.openEnded | false |
| radius-bottom | geometry.radiusBottom | 0.75 |
| radius-top | geometry.radiusTop | 0.75 |
| segments-height | geometry.segmentsHeight | 1 |
| segments-radial | geometry.segmentsRadial | 36 |
| theta-length | geometry.thetaLength | 360 |
| theta-start | geometry.thetaStart | 0 |