[page:Geometry] →

# [name]

A class for generating a two-dimensional ring geometry.

## Example

`var geometry = new THREE.RingGeometry( 1, 5, 32 ); var material = new THREE.MeshBasicMaterial( { color: 0xffff00, side: THREE.DoubleSide } ); var mesh = new THREE.Mesh( geometry, material ); scene.add( mesh );`

## Constructor

### [name]([page:Float innerRadius], [page:Float outerRadius], [page:Integer thetaSegments], [page:Integer phiSegments], [page:Float thetaStart], [page:Float thetaLength])

innerRadius — Default is 0, but it doesn't work right when innerRadius is set to 0.
outerRadius — Default is 50.
thetaSegments — Number of segments. A higher number means the ring will be more round. Minimum is 3. Default is 8.
phiSegments — Minimum is 1. Default is 8.
thetaStart — Starting angle. Default is 0.
thetaLength — Central angle. Default is Math.PI * 2.

## Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]