RenderWare V2.1

Previous Page Index Next Page

RwCamera *

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

Description

Retrieves the width and height of the camera’s view window in world space units.

Arguments

camera Pointer to the camera.

width Pointer to the RwReal that will receive the width of the view window (in world space units).

height Pointer to the RwReal that will receive the height of the view window (in world space units).

Return Value

The argument camera if successful, and NULL otherwise.

See Also

RwCreateCamera()

RwGetCameraViewport()

RwResetCamera()

RwSetCameraViewport()

RwSetCameraViewwindow()