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() {
  type = "CylinderGeometry";
  parameters = {
    "radiusTop": radiusTop,
    "radiusBottom": radiusBottom,
    "height": height,
    "radialSegments": radialSegments,
    "heightSegments": heightSegments,
    "openEnded": openEnded,
    "thetaStart": thetaStart,
    "thetaLength": thetaLength,
  };

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