RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwSetCameraPosition(RwCamera *camera, RwReal x, RwReal y, RwReal z);

Description

Sets the camera’s position in world space coordinates.

Arguments

camera Pointer to the camera.

x X coordinate of the new camera position (in world space coordinates).

y Y coordinate of the new camera position (in world space coordinates).

z Z coordinate of the new camera position (in world space coordinates).

Return Value

The argument camera if successful, and NULL otherwise.

See Also

RwCreateCamera()

RwGetCameraPosition()

RwResetCamera()

RwTransformCamera()

RwVCMoveCamera()

RwWCMoveCamera()