RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwSetCameraViewwindow(RwCamera *camera, RwReal width, RwReal height);

Description

Sets the relative size of the view window in the view plane. Larger values give a wider field of view, smaller values a narrower field of view.

Arguments

camera Pointer to the camera.

width Width of the view window (in world space units).

height Height of the view window (in world space units).

Return Value

The argument camera if successful, and NULL otherwise.

See Also

RwCreateCamera()

RwGetCameraViewwindow()

RwResetCamera()

RwSetCameraViewport()