<?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 Re: How To Create Drawings From the Geometry API?? in ArcGIS Maps SDK for Unity Questions</title>
    <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/how-to-create-drawings-from-the-geometry-api/m-p/1287480#M530</link>
    <description>&lt;P&gt;hi! The geometry API provides the methods to do analysis (the backend calculation stuff). The actual drawing and rendering will be done with Unity's API since that's what game engines are specialized in.&lt;/P&gt;&lt;P&gt;If you just want to draw rectangles and triangles you may not need the geometry API, as long as you know the lat long or the world transform of the vertices, you can draw them with Unity's API. For example, drawing triangle:&amp;nbsp;&lt;A href="https://docs.unity3d.com/ScriptReference/GL.TRIANGLES.html" target="_blank"&gt;https://docs.unity3d.com/ScriptReference/GL.TRIANGLES.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you do need to utilize the analysis function of the geometry API, please checkout our measurement sample&amp;nbsp;&lt;A href="https://developers.arcgis.com/unity/sample-code/Measure/" target="_blank"&gt;https://developers.arcgis.com/unity/sample-code/Measure/&lt;/A&gt;&amp;nbsp;to see how you can show results of the geometry API (in this case, calculate distance between points and render a line between them).&lt;/P&gt;&lt;P&gt;To see the geometry API and its capability, you can check the geometry&amp;nbsp; API reference&amp;nbsp;&lt;A href="https://developers.arcgis.com/unity/api-reference/" target="_blank"&gt;https://developers.arcgis.com/unity/api-reference/&lt;/A&gt;&amp;nbsp;(left side, under the geometry category.)&lt;/P&gt;</description>
    <pubDate>Tue, 09 May 2023 21:46:43 GMT</pubDate>
    <dc:creator>Jade</dc:creator>
    <dc:date>2023-05-09T21:46:43Z</dc:date>
    <item>
      <title>How To Create Drawings From the Geometry API??</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/how-to-create-drawings-from-the-geometry-api/m-p/1277205#M488</link>
      <description>&lt;P&gt;Hi, I'm trying out the Geometry API for ArcGIS and noticed that it will not result in any drawing only points. Is there an example on how to draw basic like Rectangle, Triangle, etc on the Map's mesh??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm asking this because on InfinityCode OnlineMaps there's a drawing feature straight into the map's mesh&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 09:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/how-to-create-drawings-from-the-geometry-api/m-p/1277205#M488</guid>
      <dc:creator>IzzanFuad</dc:creator>
      <dc:date>2023-04-11T09:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create Drawings From the Geometry API??</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/how-to-create-drawings-from-the-geometry-api/m-p/1287480#M530</link>
      <description>&lt;P&gt;hi! The geometry API provides the methods to do analysis (the backend calculation stuff). The actual drawing and rendering will be done with Unity's API since that's what game engines are specialized in.&lt;/P&gt;&lt;P&gt;If you just want to draw rectangles and triangles you may not need the geometry API, as long as you know the lat long or the world transform of the vertices, you can draw them with Unity's API. For example, drawing triangle:&amp;nbsp;&lt;A href="https://docs.unity3d.com/ScriptReference/GL.TRIANGLES.html" target="_blank"&gt;https://docs.unity3d.com/ScriptReference/GL.TRIANGLES.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you do need to utilize the analysis function of the geometry API, please checkout our measurement sample&amp;nbsp;&lt;A href="https://developers.arcgis.com/unity/sample-code/Measure/" target="_blank"&gt;https://developers.arcgis.com/unity/sample-code/Measure/&lt;/A&gt;&amp;nbsp;to see how you can show results of the geometry API (in this case, calculate distance between points and render a line between them).&lt;/P&gt;&lt;P&gt;To see the geometry API and its capability, you can check the geometry&amp;nbsp; API reference&amp;nbsp;&lt;A href="https://developers.arcgis.com/unity/api-reference/" target="_blank"&gt;https://developers.arcgis.com/unity/api-reference/&lt;/A&gt;&amp;nbsp;(left side, under the geometry category.)&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 21:46:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/how-to-create-drawings-from-the-geometry-api/m-p/1287480#M530</guid>
      <dc:creator>Jade</dc:creator>
      <dc:date>2023-05-09T21:46:43Z</dc:date>
    </item>
  </channel>
</rss>

