Hi! I have a SceneView with a 3D object scene layer of buildings, which sits on top of a ground elevation DEM layer. I would like to be able to sample points in my Scene to obtain the height at that point (be it from the ground elevation, the Scene Layer or even another source such as an extruded 2D building footprint.
Now I believe it should be possible to obtain the height of each point, given that:
- FeatureLayer has a relative-to-scene elevationInfo option, which means it knows the height of the scene below it.
- The ElevationProfileLineView does something similar to what I want and can include buildings in the scene; however, I would like to programmatically sample the height at various points.
Is there a way to achieve this? Thank you!