Wall

new Cesium.Wall(options)

楼层侧面墙对象
Name Type Description
options Object 如下
Name Type Default Description
scene Scene optional Scene.
building BuildingPrimitive buildingPrimitive.BuildingPrimitive
floor Floor 楼层Floor对象.
id * createGuid() optional id
positions Array.<Cartesian3> optional 底边坐标点串
minimumHeights Number optional 建筑物底面高程
maximumHeights Number optional 建筑物顶面高程
floorNum Number optional 当前层数
floorHeight Number 3.0 optional 每层建筑物层高
image String | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement 'buildModuleUrl('Assets/Images/cityplan/outer_wall.jpg')' optional 墙面材质
useColor Boolean false optional true,墙面使用颜色填充,false墙面使用图片材质填充
color Color Color.GRAY optional 墙面颜色
repeat Cartesian2 new Cartesian(1,1) optional 墙面的材质排列
appearance MaterialAppearance optional 从buildingPrimitive传递过来的MaterialAppearance的引用

Members

从buildingPrimitive传递过来的MaterialAppearance的引用
父对象BuildingPrimtive
墙面颜色
父对象Floor

image : String|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement

墙面材质
墙面的材质排列

useColor : Boolean

true,墙面使用颜色填充,false墙面使用图片材质填充
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.