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() {
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();
}