CylinderGeometry constructor
CylinderGeometry(
- dynamic radiusTop,
- dynamic radiusBottom,
- dynamic height,
- dynamic radialSegments,
- dynamic heightSegments,
- dynamic openEnded,
- dynamic thetaStart,
- 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();
}