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,
      ) {
  type = 'ConeGeometry';
  parameters = {
    "radius": radius,
    "height": height,
    "radialSegments": radialSegments,
    "heightSegments": heightSegments,
    "openEnded": openEnded,
    "thetaStart": thetaStart,
    "thetaLength": thetaLength
  };
}