ConeGeometry constructor
ConeGeometry([
- dynamic radius = 1,
- dynamic height = 1,
- dynamic radialSegments = 8,
- dynamic heightSegments = 1,
- dynamic openEnded = false,
- dynamic thetaStart = 0,
- 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
};
}