标签:sphere osi 应该 img edit 可见 col new bubuko
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));
osgearth2.8关于RectangleNodeEditor编辑点不可见的问题
标签:sphere osi 应该 img edit 可见 col new bubuko
原文地址:https://www.cnblogs.com/coolbear/p/9759665.html