选择模型并获取到该模型的属性需要怎么做 ?
来自网友分享:
var handler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas); handler.setInputAction(function (movement) { var pick = viewer.scene.pick(movement.position); if (Cesium.defined(pick) && (pick.id.id === 'id')) { } }, Cesium.ScreenSpaceEventType.LEFT_CLICK);