OrientedCamera::SetCameraAltitude
Defined in:
Sets the current altitude angle for an oriented camera.
C4Cameras.h
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