AGI STK Graphics 11 Send comments on this topic.
IAgStkGraphicsLighting Interface





Description

Lighting in the 3D scene.

Public Properties

Public Property AmbientIntensity Gets or sets the ambient intensity throughout the scene.
Public Property DiffuseIntensity Gets or sets the diffuse intensity from the sun.
Public Property Enabled Gets or sets whether or not lighting is enabled.
Public Property NightLightsIntensity Gets or sets the overall brightness for the night light's image overlay, Night Overlay.

Example

Control the Lighting of the 3D scene
[MATLAB] Copy Code
% IAgScenario scenario: Scenario object 
% Modify the lighting levels 
manager = scenario.SceneManager; 
lighting = manager.Scenes.Item(0).Lighting; 
lighting.AmbientIntensity = .20;    %Percent 
lighting.DiffuseIntensity = 4;  %Percent 
lighting.NightLightsIntensity = 5;  %Percent 
 
 
© 2016 All Rights Reserved.

STK Programming Interface 11.0.1