Skip to main content

KCylinderParameter

kds-plugin-document / Exports / KCylinderParameter

Interface: KCylinderParameter

临时几何图形绘制参数

The KCylinderParameter class represents the parameter for Drawing temporary cylinder.

Table of contents

Properties

Properties

axisDirection

Optional axisDirection: KVector3d

方向

The direction of the cylinder.

Defined in

api.d.ts:5123


axisPosition

axisPosition: KPoint3d

位置

The position of the cylinder.

Defined in

api.d.ts:5115


height

height: number

高度

Height of the cylinder. Default is 1.

Defined in

api.d.ts:5067


heightSegments

Optional heightSegments: number

高度方向的分段数

Number of rows of faces along the height of the cylinder. Default is 1.

Defined in

api.d.ts:5083


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:5091


radialSegments

Optional radialSegments: number

圆周周围的分段数

Number of segmented faces around the circumference of the cylinder. Default is 8

Defined in

api.d.ts:5075


radiusBottom

radiusBottom: number

底部半径

Radius of the cylinder at the bottom. Default is 1.

Defined in

api.d.ts:5059


radiusTop

radiusTop: number

顶部半径

Radius of the cylinder at the top. Default is 1.

Defined in

api.d.ts:5051


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:5107


thetaStart

Optional thetaStart: number

第一个分段的起始角度

Start angle for first segment, default = 0 (three o'clock position).

Defined in

api.d.ts:5099