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





Description

Access Constraint used for lighting conditions.

Public Properties

Public Property Condition Condition uses the AgECnstrLighting enum.

Interfaces

Implemented Interface
IAgAccessConstraint

Example

Add and configure a lighting condition access constraint
[C#] Copy Code
// Condition constraint 
IAgAccessCnstrCondition light = accessConstraints.AddConstraint(AgEAccessConstraints.eCstrLighting) as IAgAccessCnstrCondition; 
light.Condition = AgECnstrLighting.eDirectSun; 
 

Add and configure a lighting condition access constraint
[Visual Basic .NET] Copy Code
' Condition constraint
Dim light As IAgAccessCnstrCondition = TryCast(accessConstraints.AddConstraint(AgEAccessConstraints.eCstrLighting), IAgAccessCnstrCondition)
light.Condition = AgECnstrLighting.eDirectSun

CoClasses that Implement IAgAccessCnstrCondition

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1