RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwSetCameraRenderOffset(RwCamera *camera, RwInt32 x, RwInt32 y)

Description

Sets the render offset for a camera.

Arguments

camera The camera for which the render offset is to be set.

x The x offset

y The y offset

Returns

If successful returns camera, otherwise NULL.

Comments

In single buffered mode, RenderWare always renders into the cameras image buffer at 0,0 regardless of where the viewport is defined. This function allows the application to specify the point in the buffer at which rendering should start.

See Also

RwGetCameraRenderOffset()