您好,可以使用scene.flyToPoint(Point3D point)方法飞行到指定位置。
运行程序后为什么打开球面场景显示在地心,fly.ToPoint()没效果
scene.setWorkspace(workspace); if ( workspace.open(workspaceConnectionInfon)){ if (!scene.open(workspace.getScenes().get(0))){ Toast.makeText(this, "打开场景失败", Toast.LENGTH_SHORT).show(); return; } layerCount=scene.getLayers().getCount(); layer3Ds=scene.getLayers(); sceneControl.getScene().flyToPoint(new Point3D(102.49257820, 25.73540740, 500)); isOpenScene=true; }