<?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 Changing Opacity of a Surface without Basemap doesn't update on screen in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/changing-opacity-of-a-surface-without-basemap/m-p/1031235#M9836</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I wanted to ask if I encountered a bug or just did something wrong.&lt;/P&gt;&lt;P&gt;If I define a plain empty Scene, like so:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Scene _scene = new Scene();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;and I put it into a SceneView, then it renders a gridded gray ball. If I then make a button with action like:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private void Button_Click(object sender, RoutedEventArgs e)
{
	MySceneView.Scene.BaseSurface.Opacity = 0.1;
}&lt;/LI-CODE&gt;&lt;P&gt;and &lt;STRONG&gt;click the button,&amp;nbsp; the opacity won't change.&lt;/STRONG&gt; If I move the camera then the opacity changes.&lt;/P&gt;&lt;P&gt;This behaviour is weird because if the Scene has a Basemap, then it changes right when I click the button.&lt;/P&gt;&lt;P&gt;Is this intended? And what is a good walk-around of this? I found when I change some other property, like:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private void Button_Click(object sender, RoutedEventArgs e)
{
 MySceneView.Scene.BaseSurface.Opacity = 0.1;
 MySceneView.Scene.BaseSurface.BackgroundGrid.IsVisible = !baseSurface.BackgroundGrid.IsVisible;
}&lt;/LI-CODE&gt;&lt;P&gt;then it works even when the Scene doesn't have the basemap. But maybe there is a more elegant solution?&lt;/P&gt;</description>
    <pubDate>Sat, 27 Feb 2021 01:05:11 GMT</pubDate>
    <dc:creator>MateuszZugaj</dc:creator>
    <dc:date>2021-02-27T01:05:11Z</dc:date>
    <item>
      <title>Changing Opacity of a Surface without Basemap doesn't update on screen</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/changing-opacity-of-a-surface-without-basemap/m-p/1031235#M9836</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I wanted to ask if I encountered a bug or just did something wrong.&lt;/P&gt;&lt;P&gt;If I define a plain empty Scene, like so:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Scene _scene = new Scene();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;and I put it into a SceneView, then it renders a gridded gray ball. If I then make a button with action like:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private void Button_Click(object sender, RoutedEventArgs e)
{
	MySceneView.Scene.BaseSurface.Opacity = 0.1;
}&lt;/LI-CODE&gt;&lt;P&gt;and &lt;STRONG&gt;click the button,&amp;nbsp; the opacity won't change.&lt;/STRONG&gt; If I move the camera then the opacity changes.&lt;/P&gt;&lt;P&gt;This behaviour is weird because if the Scene has a Basemap, then it changes right when I click the button.&lt;/P&gt;&lt;P&gt;Is this intended? And what is a good walk-around of this? I found when I change some other property, like:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private void Button_Click(object sender, RoutedEventArgs e)
{
 MySceneView.Scene.BaseSurface.Opacity = 0.1;
 MySceneView.Scene.BaseSurface.BackgroundGrid.IsVisible = !baseSurface.BackgroundGrid.IsVisible;
}&lt;/LI-CODE&gt;&lt;P&gt;then it works even when the Scene doesn't have the basemap. But maybe there is a more elegant solution?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 01:05:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/changing-opacity-of-a-surface-without-basemap/m-p/1031235#M9836</guid>
      <dc:creator>MateuszZugaj</dc:creator>
      <dc:date>2021-02-27T01:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Opacity of a Surface without Basemap doesn't update on screen</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/changing-opacity-of-a-surface-without-basemap/m-p/1031595#M9841</link>
      <description>&lt;P&gt;Thank you for reporting this. This appears to be a bug, and I've logged the issue internally for triage.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 18:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/changing-opacity-of-a-surface-without-basemap/m-p/1031595#M9841</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2021-03-01T18:31:14Z</dc:date>
    </item>
  </channel>
</rss>

