_manip->getSettings()->setTetherMode(osgEarth::Util::EarthManipulator:: TETHER_CENTER );
                //设置_manip的绑定节点
                _manip->setTetherNode( _manip->getTetherNode() ? 0L : _xform.get(), 2.0 );
                Viewpoint vp = _manip->getViewpoint();
                vp.setRange(5000);
                //设置操作器的视点
                _manip->setViewpoint(vp);

 

相关文章:

  • 2021-12-17
  • 2022-12-23
  • 2022-01-24
  • 2021-07-14
  • 2022-12-23
  • 2022-02-27
  • 2022-02-07
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2022-01-26
  • 2022-12-23
  • 2022-03-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案