您的位置:首页 > 其它

ArcGlobe三维开发之十——IGlobeDisplayRendering2 接口

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




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

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




内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息