RenderWare V2.1

Previous Page Index Next Page

RwV3d *

RwGetLightPosition(RwLight *light, RwV3d *position);

Description

Retrieves the position of a point or conical light in world space coordinates.

Arguments

light Pointer to the light.

position Pointer to the point that will receive the light’s position (in world space coordinates).

Return Value

The argument position if successful, and NULL otherwise.

See Also

RwCreateLight()

RwSetLightPosition()

RwTransformLight()