ArcGlobe组件开发之IGlobeDisplayRendering2 接口

在使用ArcGlobe时,我们可以看到星空,地球外围的晕圈等等效果。在GlobeControl开发中实现这样的效果则要用到IGlobeDisplayRendering2 接口。通过查文档可以知道GlobeDisplay实现了该接口。如下图:

最新的接口是IGlobeDisplayRendering2 ,通过该接口,可以控制Globe的显示渲染效果。代码如下:

IGlobeDisplayRendering2 pGDR2 = m_globeControl.GlobeDisplay as IGlobeDisplayRendering2;
            pGDR2.IsStarsEnabled = true;//星空
            pGDR2.IsHaloEnabled = true;//大气晕圈
            pGDR2.IsSunEnabled = true;//太阳





posted @ 2014-04-06 18:31  奔跑的鸡丝  阅读(199)  评论(0编辑  收藏  举报