Home > Working with SGWorld > Navigate (INavigate6)

Navigate (INavigate6)

The INavigate6 interface gives you control of the camera in terms of positioning, orientation, and speed. You can also set how the camera approaches a certain object, and perform zoom operations.

 

 

Properties

 

FieldOfView

Returns or sets the camera field of view, in degrees.

Speed

Returns or sets the speed at which the camera approaches an object.

UndergroundMode

Returns or sets on or off the underground navigation mode that allows you to explore the subsurface of the terrain.

 

Methods

 

FlyThrough

Reserved. Currently not used.

FlyTo

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

GetPosition

Returns the camera’s current position and orientation.

JumpTo

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

SetPosition

Sets the camera’s position and orientation.

Stop

Stops the camera’s movement.

ZoomIn

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

ZoomOut

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

ZoomTo

Moves the camera to a specific distance from the terrain.