Description | Example | Return message | Group

Graphics Nightlights

Set options for displaying night lights in the 2d Graphics window

Syntax

Graphics <ScenarioPath> Nightlights {DisplayOptions}

Related commands

Description

The Graphics Nightlights commands allows you to set options for showing night lights in the 2d Graphics window.

{DisplayOptions}Description
ImageFile "<FilePath>"Specify the night lights image file.

"<FilePath>" can be the path to a file on your local drive or the path to a file on an SDF server. See Specifying Paths for "<SDFFilePath>" syntax information.

Show {On | Off} Specify whether to show the night lights image file.
ScaleFactor <Value> Indicates the overall brightness of the night lights. <Value> is a value between 0 and 500, where 0 means night lights are not visible, and 500 produces night lights that are easily seen.
WindowId <WinNumber>Specify the 2d Graphics window where the night light options are being set. The default is the first 2D Graphics window.

Examples

To set a night lights image file, turn it on and set the scale factor:

Graphics * Nightlights ImageFile "C:\Program Files\AGI\STK 12\STKData\VO\Textures\Earth_PE_Night.jp2"
Graphics * Nightlights Show On
Graphics * Nightlights ScaleFactor 100.0

Return message

Group membership

This command belongs to the following group(s):

2D Graphics Window

Version

11.6