CylinderGeometry constructor

CylinderGeometry(
  1. dynamic radiusTop,
  2. dynamic radiusBottom,
  3. dynamic height,
  4. dynamic radialSegments,
  5. dynamic heightSegments,
  6. dynamic openEnded,
  7. dynamic thetaStart,
  8. dynamic thetaLength,
)

Implementation

CylinderGeometry(radiusTop, radiusBottom, height, radialSegments,
    heightSegments, openEnded, thetaStart, thetaLength)
    : super() {
  this.parameters = {
    "radiusTop": radiusTop,
    "radiusBottom": radiusBottom,
    "height": height,
    "radialSegments": radialSegments,
    "heightSegments": heightSegments,
    "openEnded": openEnded,
    "thetaStart": thetaStart,
    "thetaLength": thetaLength
  };

  this.fromBufferGeometry(THREE.CylinderGeometry(
      radiusTop,
      radiusBottom,
      height,
      radialSegments,
      heightSegments,
      openEnded,
      thetaStart,
      thetaLength));
  this.mergeVertices();
}