使用wall绘制房屋墙壁,如何给四周的墙壁添加不一样的图片,也就是一个房屋墙壁添加多张图片,现在我只能添加一张墙面图片
var ploywall = viewer.entities.add({
crossguid: crossguid,
name: 'gltf',
wall: { //墙
positions: Cesium.Cartesian3.fromDegreesArrayHeights(nodePositionArr),
shadows: Cesium.ShadowMode.ENABLED,
material: new Cesium.ImageMaterialProperty({
image: require("../../image/corssImage/bottom.jpg"),
repeat: new Cesium.Cartesian2(1, 1)
}),
maximumHeights: maximumHeights,
minimumHeights: minimumHeights,
distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 5000),
fill: true, // 是否被提供的材质填充
show: true, // 是否显示
}
});