Beispiel #1
0
 //是否显示观察点
 private void cb_IsShowObserverPoint_CheckedChanged(object sender, EventArgs e)
 {
     m_bShowObserverPoint = this.cb_IsShowObserverPoint.Checked;
     if (m_skyline != null)
     {
         m_skyline.SetViewerVisible(m_bShowObserverPoint);
     }
 }
Beispiel #2
0
        private Skyline CreateSkyline()
        {
            Skyline skyline = new Skyline(m_sceneControl.Scene);

            skyline.Quality      = m_quality;
            skyline.DisplayStyle = m_displayMode;
            skyline.SetViewerVisible(m_bShowObserverPoint);
            skyline.Build();

            return(skyline);
        }