<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic hittest sceneview in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/hittest-sceneview/m-p/589551#M3016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&amp;nbsp;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.&amp;nbsp;Have you got any idea what might be wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;public&lt;/SPAN&gt; &lt;SPAN class=""&gt;async&lt;/SPAN&gt; &lt;SPAN class=""&gt;Task&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;IEnumerable&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;Graphic&lt;/SPAN&gt;&amp;gt;&amp;gt; GetGraphic(&lt;SPAN class=""&gt;GraphicsLayer&lt;/SPAN&gt; layer, &lt;SPAN class=""&gt;Point&lt;/SPAN&gt; screenPoint, &lt;SPAN class=""&gt;int&lt;/SPAN&gt; maxHits)&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;{&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;IEnumerable&amp;lt;Graphic&amp;gt; hitGraphics = await layer.HitTestAsync(_map, screenPoint, maxHits);&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return hitGraphics;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eugen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2016 09:02:20 GMT</pubDate>
    <dc:creator>EugenReiswich</dc:creator>
    <dc:date>2016-09-21T09:02:20Z</dc:date>
    <item>
      <title>hittest sceneview</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/hittest-sceneview/m-p/589551#M3016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&amp;nbsp;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.&amp;nbsp;Have you got any idea what might be wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;public&lt;/SPAN&gt; &lt;SPAN class=""&gt;async&lt;/SPAN&gt; &lt;SPAN class=""&gt;Task&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;IEnumerable&lt;/SPAN&gt;&amp;lt;&lt;SPAN class=""&gt;Graphic&lt;/SPAN&gt;&amp;gt;&amp;gt; GetGraphic(&lt;SPAN class=""&gt;GraphicsLayer&lt;/SPAN&gt; layer, &lt;SPAN class=""&gt;Point&lt;/SPAN&gt; screenPoint, &lt;SPAN class=""&gt;int&lt;/SPAN&gt; maxHits)&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;{&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;IEnumerable&amp;lt;Graphic&amp;gt; hitGraphics = await layer.HitTestAsync(_map, screenPoint, maxHits);&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return hitGraphics;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eugen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 09:02:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/hittest-sceneview/m-p/589551#M3016</guid>
      <dc:creator>EugenReiswich</dc:creator>
      <dc:date>2016-09-21T09:02:20Z</dc:date>
    </item>
  </channel>
</rss>

