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 the user to set options for showing night lights in the 2d Graphics window.

{DisplayOptions} Description
ImageFile "<Filepath>" Specify the night lights image file.
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.

Example

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

Graphics * Nightlights ImageFile "C:\Program Files\AGI\STK 11\STKData\VO\Textures\Earth_PE_Night.jp2"

Graphics * Nightlights Show On

Graphics * Nightlights ScaleFactor 100.0

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

2D Graphics Window

Version

10

STK Programming Interface 11.0.1