C4 Engine
C4 Engine API Documentation

FrustumCameraObject::GetAspectRatio

Defined in:  C4CameraObjects.h
Returns the aspect ratio.
Prototype

float GetAspectRatio(voidconst;

Description
The GetAspectRatio function returns the aspect ratio for the camera. The aspect ratio is given by the width of the viewport divided by its height.
See Also

FrustumCameraObject::SetAspectRatio