<a-cone>
Note: This documentation is for the old 0.3.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
| Attribute | Component Mapping | Default Value |
|---|---|---|
| color | material.color | #FFF |
| height | geometry.height | 1 |
| metalness | material.metalness | 0 |
| opacity | material.opacity | 1 |
| open-ended | geometry.openEnded | false |
| radius-bottom | geometry.radiusBottom | 1 |
| radius-top | geometry.radiusTop | 0.8 |
| repeat | material.repeat | None |
| roughness | material.roughness | 0.5 |
| segments-height | geometry.segmentsHeight | 18 |
| segments-radial | geometry.segmentsRadial | 36 |
| shader | material.shader | standard |
| side | material.side | front |
| src | material.src | None |
| theta-length | geometry.thetaLength | 360 |
| theta-start | geometry.thetaStart | 0 |
| transparent | material.transparent | false |