import React from "react"; import { BaseProps } from "../../../types/baseProps"; export declare const NAME = "CylinderGeometry"; export interface CylinderGeometryProps extends BaseProps { /** * 圆柱的顶部半径,默认值是1 */ radiusTop: number; /** * 圆柱的底部半径,默认值是1 */ radiusBottom: number; /** * 圆柱的高度,默认值是1。 */ height: number; /** * 圆柱侧面周围的分段数,默认为8。 */ radialSegments: number; /** * 圆柱侧面沿着其高度的分段数,默认值为1。 */ heightSegments?: number; /** * 一个Boolean值,指明该圆锥的底面是开放的还是封顶的。默认值为false,即其底面默认是封顶的。 */ openEnded?: boolean; /** * 第一个分段的起始角度,默认为0。(three o'clock position) */ thetaStart?: number; /** * 圆柱底面圆扇区的中心角,通常被称为“θ”(西塔)。默认值是2*Pi,这使其成为一个完整的圆柱。 */ thetaLength?: number; } /** * 一个用于生成圆柱几何体的类 */ export declare const CylinderGeometry: React.ComponentType;