FrustumCameraObject::SetAspectRatio
Defined in:
Sets the aspect ratio.
C4CameraObjects.h
Prototype
void SetAspectRatio(float aspect);
Parameters
aspect |
The new aspect ratio. |
Description
The SetAspectRatio
function sets the aspect ratio for the camera to the value given by the aspect
parameter. The aspect ratio is given by the width of the viewport divided by its height.
See Also