Optional
radius: number— Radius of the cone base.
Optional
height: number— Height of the cone.
Optional
radialSegments: number— Number of segmented faces around the circumference of the cone.
Optional
heightSegments: number— Number of rows of faces along the height of the cone.
Optional
openEnded: boolean— A Boolean indicating whether the base of the cone is open or capped.
Optional
thetaStart: numberOptional
thetaLength: numbernull
null
Use .groups instead.
[]
Unique number of this buffergeometry instance
null
Readonly
isfalse
''
Use .groups instead.
'ConeGeometry'
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