AGI STK Objects 11 Send comments on this topic.
IAgVeGfxLighting Interface
Windows






Windows & Linux

Description

Lighting

Object Model




Public Properties

Public Property IsPenumbraUmbraVisibleOpt whether to show the dividing line between regions of penumbra and umbra at the current altitude of the vehicle.
Public Property IsSolarSpecularReflectionPointVisibleOpt whether to draw the solar specular reflection point on the surface of the globe as a white *.
Public Property IsSunLightPenumbraVisibleOpt whether to show the dividing line between regions of sunlight and penumbra at the current altitude of the vehicle.
Public Property PenumbraGet the display options for regions of penumbra.
Public Property SunlightGet the display options for regions of sunlight.
Public Property UmbraGet the display options for regions of umbra.

Example

Configure sunlight lighting graphics
[C#]Copy Code
IAgVeGfxLightingElement sunlight = lighting.Sunlight; 
 
sunlight.Visible = true
sunlight.Color = Color.Red; 
sunlight.LineStyle =  <a href="STKUtil~Enumerations~AgELineStyle_EN.html">AgELineStyle</a>.eDotted; 
sunlight.LineWidth = AgELineWidth.e3; 
sunlight.MarkerStyle = "Circle"
 

Configure sunlight lighting graphics
[Visual Basic .NET]Copy Code
Dim sunlight As IAgVeGfxLightingElement = lighting.Sunlight

sunlight.Visible = True
sunlight.Color = Color.Red
sunlight.LineStyle = AgELineStyle.eDotted
sunlight.LineWidth = AgELineWidth.e3
sunlight.MarkerStyle = "Circle"

© 2018 Analytical Graphics, Inc. All Rights Reserved.