C4 Engine
C4 Engine API Documentation

OrientedCamera::GetCameraAltitude

Defined in:  C4Cameras.h
Returns the current altitude angle for an oriented camera.
Prototype

float GetCameraAltitude(voidconst;

Description
The GetCameraAltitude function returns the current altitude angle, in radians. The altitude angle represents the camera's rotation above the horizontal plane. (Negative angles rotate the camera below the horizontal plane.) The initial altitude angle is zero radians, meaning that the camera points in a direction parallel to the horizontal plane.
See Also

OrientedCamera::SetCameraAltitude

OrientedCamera::GetCameraAzimuth

OrientedCamera::SetCameraAzimuth