This is the control class that provides SkylineGlobe functionality to the web page.
Constructor
Name |
Description |
Initializes a new instance of the SGWorld class. |
Methods
Name |
Description |
Shows a pop-up window. |
|
Removes a pop-up window. |
|
Attaches the specified function to the given SGWorld event. |
|
Detaches the event so that it no longer calls the specified function when it fires. |
Properties
Name |
Description |
Enables control of the camera position and orientation in the 3D world. |
|
Enables creation of objects such as polylines, labels and groups. |
|
A wrapper object for all the functionalities interaction with the 3D window such as snapshots, dimensions and query pixel information. |
|
The root node that holds all the objects added to the Skyline Globe control object hierarchy. Of the SGNode type. |
|
Contains information about the last error that occurred during a call to one of the methods of the Skyline Globe Control. This property is a normal java script error object. |
Events
Name |
Description |
Fires when Skyline Globe Control finishes loading a fly file |
|
Fires before a fly file is closed to notify that the file is being closed |
|
Is sent in each frame, before the frame is rendered, to allow the user to perform any per frame activity (i.e. moving objects on the terrain) |
|
Fires when a message object is about to be triggered |
|
Fires when a certain action (e.g., to fly to an object) is performed on the node object |
|
Fires just before a fly file is saved |
|
Fires when the terrain quality that the user is currently viewing is updated |
|
Fires when the control Input mode is changed (e.g., switching from free flight mode to measurements mode) |
|
Fires when the user presses the left mouse button in the 3D window |
|
Fires when the user releases the left mouse button |
|
Fires when the user presses the middle mouse button in the 3D window |
|
Fires when user releases the middle mouse button |
|
Fires when the user presses the Right mouse button in the 3D window |
|
Fires when user releases the right mouse button |
|
Fires when the user rotates the mouse wheel and encounters the wheel’s next notch. |
|
Fires when the user double clicks the left mouse button in the 3D window |
|
Fires when the user double clicks the right mouse button in the 3D window |
|
Fires when the user double clicks the middle mouse button in the 3D window |
|
onClick |
Fires when the user clicks the left mouse button in the 3D window |