Beispiel #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public SkyLayer(string LayerName, Qrst.QrstAxGlobeControl globe) : base(LayerName)
 {
     this.pluginPath     = Path.Combine(globe.DataDirectory, @"Space");
     this.world          = globe.CurrentWorld;
     this.drawArgs       = globe.DrawArgs;
     this.RenderPriority = RenderPriority.SurfaceImages;
 }
Beispiel #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public Stars3DLayer(string LayerName, string pluginPath, Qrst.QrstAxGlobeControl QrstWindow) : base(LayerName)
 {
     this.pluginPath     = pluginPath;
     this.world          = QrstWindow.CurrentWorld;
     this.drawArgs       = QrstWindow.DrawArgs;
     this.RenderPriority = RenderPriority.SurfaceImages;
     //this.sphereRadius = this.drawArgs.WorldCamera.WorldRadius * 20;
     ReadSettings();
 }