var viewer = new Cesium.Viewer('cesiumContainer'); var blueCorridor = viewer.entities.add({ corridor : { positions : Cesium.Cartesian3.fromDegreesArray([ -120.0, 60.0, -90.0, 60.0 ]), extrudedHeight : 500000.0, width : 50.0, cornerType: Cesium.CornerType.BEVELED, material : Cesium.Color.BLUE.withAlpha(0.5), outline : true, outlineColor : Cesium.Color.BLUE } }); viewer.zoomTo(viewer.entities);
Cesiumjs – How to make Wall ?
Leave a reply