Extrude below surface .net Runtime

04-12-2020 09:52 AM
Occasional Contributor

Hi everyone,

I'm working on an AR app using .net Runtime, I want to be able to see monitoring wells in place in  world scale AR. I've got pretty much everything working just fine, but I can't seen to be able to extrude my wells below the surface. Does anyone know how to do this? My code is below

_wellsLayer.RenderingMode = FeatureRenderingMode.Dynamic;

SimpleMarkerSymbol pointSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbolStyle.Circle, Color.Blue, 0.25);

SimpleRenderer wellRenderer = new SimpleRenderer(pointSymbol);

wellRenderer.SceneProperties.ExtrusionMode = ExtrusionMode.AbsoluteHeight;

wellRenderer.SceneProperties.ExtrusionExpression = "[Depth] * -1";

_wellsLayer.Renderer = wellRenderer;

0 Kudos
0 Replies