Optional
radiusTop: number— Radius of the cylinder at the top.
Optional
radiusBottom: number— Radius of the cylinder at the bottom.
Optional
height: number— Height of the cylinder.
Optional
radialSegments: number— Number of segmented faces around the circumference of the cylinder.
Optional
heightSegments: number— Number of rows of faces along the height of the cylinder.
Optional
openEnded: booleanA Boolean indicating whether or not to cap the ends of the cylinder.
Optional
thetaStart: numberOptional
thetaLength: numbernull
null
Use .groups instead.
[]
Unique number of this buffergeometry instance
null
Readonly
isfalse
''
Use .groups instead.
'CylinderGeometry'
Use .setAttribute() instead.
Use .addGroup() instead.
Optional
indexOffset: anyAdds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Use .setIndex() instead.
Bakes matrix transform directly into vertex coordinates.
Use .clearGroups() instead.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Optional
offset: numberUse .deleteAttribute() instead.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Static
fromJSONGenerated using TypeDoc
This is a superefficent class for geometries because it saves all data in buffers. It reduces memory costs and cpu cycles. But it is not as easy to work with because of all the necessary buffer calculations. It is mainly interesting when working with static objects.
see https://github.com/mrdoob/three.js/blob/master/src/core/BufferGeometry.js|src/core/BufferGeometry.js