SGWorld.navigate

The navigate property of the SGWorld class is an object that contains several navigation methods. It is used to control the camera position and orientation in the SkylineGlobe World.

Methods

Name

Description

getPosition Method

Returns the camera’s current position and orientation.

setPosition Method

Sets the camera’s position and orientation.

flyTo Method

Instructs the camera to fly to a point of interest in a specific pattern.

flyThrough Method

Instructs the camera to fly through a series of points of interest.

jumpTo Method

Instructs the camera to jump straight to the point of interest.

zoomTo Method

Moves the camera to a specific distance from the terrain.

zoomIn Method

Moves the camera forward, closer to the point of interest.

zoomOut Method

Moves the camera backward, farther from the point of interest.

stop Method

Stops the camera’s movement.