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





Description

Lighting

Object Model




Public Properties

Public Property IsPenumbraUmbraVisible Opt whether to show the dividing line between regions of penumbra and umbra at the current altitude of the vehicle.
Public Property IsSolarSpecularReflectionPointVisible Opt whether to draw the solar specular reflection point on the surface of the globe as a white *.
Public Property IsSunLightPenumbraVisible Opt whether to show the dividing line between regions of sunlight and penumbra at the current altitude of the vehicle.
Public Property Penumbra Get the display options for regions of penumbra.
Public Property Sunlight Get the display options for regions of sunlight.
Public Property Umbra Get 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.chm::/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"

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1