[page:BufferGeometry] →
[name]
This is the [page:BufferGeometry] port of [page:RingGeometry].
Example
var geometry = new THREE.RingBufferGeometry( 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]