hittest sceneview

658
0
09-21-2016 02:02 AM
Labels (1)
EugenReiswich
New Contributor

Hi folks, 

we just started experimenting with the 3D SceneView. It looks very nice and we are excited about the new possibilities. However, we've encountered a problem while hittesting GraphicLayers in a SceneView. The result is always empty no matter how hard we try to hit a graphic. The hittest worked in a MapView. Have you got any idea what might be wrong?

        public async Task<IEnumerable<Graphic>> GetGraphic(GraphicsLayer layer, Point screenPoint, int maxHits)

        {

            IEnumerable<Graphic> hitGraphics = await layer.HitTestAsync(_map, screenPoint, maxHits);

            return hitGraphics;

         }

Kind Regards, 

Eugen

0 Kudos
0 Replies