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





Description

Lighting condition properties.

Public Properties

Public Property Color The color of the line that will mark the region representing the selected lighting condition.
Public Property LineStyle The type of line that will mark the region representing the selected lighting condition.
Public Property LineWidth The width of the line that will mark the region representing the selected lighting condition.
Public Property MarkerStyle The object marker while the vehicle is within a particular region representing the selected lighting condition.
Public Property Visible Opt whether to display the orbit and/or ground track in the color assigned to the specified lighting condition.

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