SGWorld.window Methods

The methods of the SGWorld.window class are listed here. For a complete list of SGWorld.window class members, see SGWorld.windowclass.

Name

Description

getRect Method

Provides the size and position of the SGWorld window in pixels.

getSnapShot Method

Gets a snapshot of the window

pixelToWorld Method

Returns the real world coordinates on the terrain, behind a specified pixel on the window. If the selected pixel is part of an object, the object is also returned.

pixelFromWorld  Method

This method returns an indication of whether a specified terrain coordinate falls in the 3D Window. If it does, the screen coordinates of a specified pixel are returned.

getMouseInfo Method

Gets information about the pointer position.

getInputMode Method

Returns the current input mode of the mouse.

setInputMode Method

Sets the input mode of the SkylineGlobe control.

showControls Method

Shows navigation controls and/or graphical and textual information in the 3D window.

getControls Method

Returns the currently shown navigation controls.