Note: This documentation is for the old 0.3.0 version of A-Frame. Check out the documentation for the current 1.5.0 version

The torus primitive creates donut or tube shapes using the geometry component with the type set to torus.


<a-torus color="#43A367" arc="270" radius="5" radius-tubular="0.1"></a-torus>


Attribute Component Mapping Default Value
arc geometry.arc 360
color material.color #FFF
metalness material.metalness 0
opacity material.opacity 1
radius geometry.radius 1
radius-tubular geometry.radiusTubular 0.2
repeat material.repeat None
roughness material.roughness 0.5
segments-radial geometry.segmentsRadial 0
segments-tubular geometry.segmentsTubular 32
shader material.shader standard
side material.side front
src material.src None
transparent material.transparent false