Procedure CameraSetAbsolute

Parent Previous Next

Description: Sets the position, orientation and field of view of the camera in TerrainView™.

Struct:

Field Name

O

Type

Description

Position


double[3]

Absolute position of the camera.

Heading


double

Angle [0°, 360°] (or corresponding values in  selected angle units) for the rotation about the normal axis (direction relative to north, 90° means east).

Pitch


double

Angle [-90°, 90°] (or corresponding values in  selected angle units) for the rotation around the lateral or transverse axis (up/down). Positive values mean up, negative mean down.

Roll


double

Angle [0°, 360°] (or corresponding values in  selected angle units) for the rotation around the longitudinal axis (90° means rolled to the right side).

FOVHoriz


double

Horizontal angle for the field of view. The vertical angle for the vertical field of view is derived from the current aspect ratio in TerrainView™.