您好,您可以先将图片导入填充符号库,然后再通过Layer3DSettingVector 类为面数据添加风格,设置对应的填充符号即可。
示例代码如下所示:
//矢量数据集三维图层扩展设置
Layer3DSettingVector layer3DSettingVector = new Layer3DSettingVector();
GeoStyle3D geoStyle3D = new GeoStyle3D();
geoStyle3D.AltitudeMode = AltitudeMode.Absolute;
geoStyle3D.FillMode = FillMode3D.LineAndFill;
geoStyle3D.FillSymbolID = 101;
layer3DSettingVector.Style = geoStyle3D;
//将矢量数据集显示在三维地图场景中
Layer3DDataset layer3DDataset=sceneObject.Layers.Add(targetDataset, layer3DSettingVector, true);
layer3DDataset.UpdateData();
sceneObject.Refresh();
希望可以帮助到您!