C4 Engine
C4 Engine API Documentation

OrientedCamera::SetCameraAltitude

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

void SetCameraAltitude(float altitude);

Parameters
altitude The new altitude angle for the camera, in radians.
Description
The SetCameraAltitude function sets the current altitude angle to the value specified by the altitude parameter. 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::GetCameraAltitude

OrientedCamera::GetCameraAzimuth

OrientedCamera::SetCameraAzimuth