zoukankan      html  css  js  c++  java
  • osgearth2.8关于RectangleNodeEditor编辑点不可见的问题

    static_cast<SphereDragger*>(_llDragger)->setColor(osg::Vec4(0,0,1,0));

    Alpha写成了0

    应该写成

    static_cast<SphereDragger*>(_llDragger)->setColor(osg::Vec4(0,0,1,1));

    osgEarth::Annotation::RectangleNodeEditor* rectEditor = new osgEarth::Annotation::RectangleNodeEditor(rect);
    rectEditor->_llDragger->setColor(osg::Vec4(1, 0, 0, 1));
    rectEditor->getPositionDragger()->setColor(osg::Vec4(0, 1, 0, 1));

     

  • 相关阅读:
    每日总结
    每日总结
    每日总结
    每日总结
    每周总结
    每日总结
    10.20
    10.19
    10.18
    10.17
  • 原文地址:https://www.cnblogs.com/coolbear/p/9759665.html
Copyright © 2011-2022 走看看