CylinderPrimitive

new Cesium.CylinderPrimitive(options)

带有效果的圆柱/圆锥、圆台对象
Name Type Description
options Object Object with the following properties:
Name Type Default Description
center Cartesian3 optional 地面点笛卡尔坐标
length Number 1000.0 optional 高度(长度)
minRadius Number 100.0 optional 扩扫效果最小半径
maxRadius Number 200.0 optional 扩扫效果最大半径
slices Number 128 optional 圆柱横切面(圆)上细分点个数
duration Number 2000 optional 毫秒,圆环从最小半径扩大到最大半径的时间
image String | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement `buildModuleUrl('Assets/Textures/alphaYLinearGradint.png')` optional 光柱的基础纹理
color Color new Color(0.0, 0.0, 1.0, 0.5) optional 柱的混合颜色
topRadius Number 100.0 optional 柱的顶面半径
bottomRadius Number 100 optional 柱的底面半径
mode Number 1 optional 柱的效果模式 1为静态效果 2为扩散效果 4为水平旋转效果
distanceDisplayCondition DistanceDisplayCondition optional 可见距离

Members

圆柱的底面半径
光柱地面点笛卡尔坐标
光柱的混合颜色
毫秒,圆环从最小半径扩大到最大半径的时间

image : String|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement

光柱的基础纹理
柱面高度(长度)
光柱的最大半径
光柱的最小半径
效果模式
光柱横切面(圆)上细分点个数
圆柱的顶面半径
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.