ConeGeometry constructor

ConeGeometry([
  1. dynamic radius = 1,
  2. dynamic height = 1,
  3. dynamic radialSegments = 8,
  4. dynamic heightSegments = 1,
  5. dynamic openEnded = false,
  6. dynamic thetaStart = 0,
  7. dynamic thetaLength = Math.PI * 2,
])

Implementation

ConeGeometry(
    [radius = 1,
    height = 1,
    radialSegments = 8,
    heightSegments = 1,
    openEnded = false,
    thetaStart = 0,
    thetaLength = Math.PI * 2])
    : super(0, radius, height, radialSegments, heightSegments, openEnded,
          thetaStart, thetaLength) {
  parameters = {
    "radius": radius,
    "height": height,
    "radialSegments": radialSegments,
    "heightSegments": heightSegments,
    "openEnded": openEnded,
    "thetaStart": thetaStart,
    "thetaLength": thetaLength
  };
}