转发:
let entityPlane = new Cesium.Entity({
id: "entityScanGround",
name: "entityScanGround",
position: Cesium.Cartesian3.fromDegrees(112.6471429, 38.0090505, 20),
plane: {
plane: new Cesium.Plane(Cesium.Cartesian3.UNIT_Y, 0.0),
dimensions: new Cesium.Cartesian2(400, 300),
material: Cesium.Color.YELLOW,
},
});
let planeGeom = window.viewer.entities.add(entityPlane);
window.viewer.zoomTo(planeGeom);
viewer.trackedEntity = viewer.entities.getById("entityScanGround");