KCylinderParameter
kds-plugin-document / Exports / KCylinderParameter
Interface: KCylinderParameter
临时几何图形绘制参数
The KCylinderParameter class represents the parameter for Drawing temporary cylinder.
Table of contents
Properties
- axisDirection
- axisPosition
- height
- heightSegments
- openEnded
- radialSegments
- radiusBottom
- radiusTop
- thetaLength
- thetaStart
Properties
axisDirection
• Optional
axisDirection: KVector3d
方向
The direction of the cylinder.
Defined in
api.d.ts:4785
axisPosition
• axisPosition: KPoint3d
位置
The position of the cylinder.
Defined in
api.d.ts:4777
height
• height: number
高度
Height of the cylinder. Default is 1.
Defined in
api.d.ts:4729
heightSegments
• Optional
heightSegments: number
高度方向的分段数
Number of rows of faces along the height of the cylinder. Default is 1.
Defined in
api.d.ts:4745
openEnded
• Optional
openEnded: boolean
是否封盖
A Boolean indicating whether the ends of the cylinder are open or capped. Default is false, meaning capped.
Defined in
api.d.ts:4753
radialSegments
• Optional
radialSegments: number
圆周周围的分段数
Number of segmented faces around the circumference of the cylinder. Default is 8
Defined in
api.d.ts:4737
radiusBottom
• radiusBottom: number
底部半径
Radius of the cylinder at the bottom. Default is 1.
Defined in
api.d.ts:4721
radiusTop
• radiusTop: number
顶部半径
Radius of the cylinder at the top. Default is 1.
Defined in
api.d.ts:4713
thetaLength
• Optional
thetaLength: number
圆形扇区的中心角
The central angle, often called theta, of the circular sector. The default is 2*Pi, which makes for a complete cylinder.
Defined in
api.d.ts:4769
thetaStart
• Optional
thetaStart: number
第一个分段的起始角度
Start angle for first segment, default = 0 (three o'clock position).
Defined in
api.d.ts:4761