import { Mesh, MeshConstructorProps } from './Mesh'; import { ContextManager } from '@zcomponent/core'; interface CylinderConstructorProps extends MeshConstructorProps { /** * Radius of the cylinder at the top. Default is 1. * @zprop * @zdefault 1 */ radiusTop?: number; /** * Radius of the cylinder at the bottom. Default is 1. * @zprop * @zdefault 1 */ radiusBottom?: number; /** * Height of the cylinder. Default is 1. * @zprop * @zdefault 1 */ height?: number; /** * Number of segmented faces around the circumference of the cylinder. Default is 32 * @zprop * @zdefault 8 */ radialSegments?: number; /** * Number of rows of faces along the height of the cylinder. Default is 1. * @zprop * @zdefault 1 */ heightSegments?: number; /** * A Boolean indicating whether the ends of the cylinder are open or capped. Default is false, meaning capped. * @zprop * @zdefault false */ openEnded?: boolean; /** * Start angle for first segment, default = 0 (three o'clock position). * @zprop * @zdefault 0 */ thetaStart?: number; /** The central angle, often called theta, of the circular sector. The default is 2*Pi, which makes for a complete cylinder. * @zprop * @zdefault 6.283185307179586 */ thetaLength?: number; } /** * A cylinder mesh component. * Root element: [THREE.Mesh](https://threejs.org/docs/index.html#api/en/objects/Mesh) * @zcomponent * @zgroup Meshes * @zicon deployed_code * @ztag three/Object3D/Mesh/Cylinder * @zparents three/Object3D/Group/** */ export declare class Cylinder extends Mesh { constructor(contextManager: ContextManager, props: CylinderConstructorProps); /** * Disposes the cylinder geometry. */ dispose(): never; } export {};