AnsweredAssumed Answered

hittest sceneview

Question asked by ereiswich on Sep 21, 2016

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

Outcomes