cesium中Entity的CylinderGraphics添加圆柱体
1 前言
cesium可以利用CylinderGraphics类将创建的圆柱体添加到地球中。
cesium探索系列目录:传送门
2 CylinderGraphics类说明
2.1 创建CylinderGraphics的options
Cesium.CylinderGraphics.ConstructorOptions
| 名称 | 默认值 | 描述 |
|---|---|---|
show |
true | 指定圆柱体是否可见 |
length |
指定圆柱体长度 | |
topRadius |
指定圆柱体顶部半径 | |
buttomRadius |
指定圆柱体底部半径 | |
heightReference |
HeightReference.NONE | 指定高度的相对值 |
fill</ |

本文介绍了如何在Cesium库中使用CylinderGraphics类创建并添加圆柱体到地球模型,详细讲解了构造选项、常用方法如clone和merge,以及如何调整圆柱体参数以优化显示效果。

477

被折叠的 条评论
为什么被折叠?



