RwSetLightPosition(RwLight *light, RwReal x, RwReal y, RwReal z);
Description
Sets the position of a point or conical light source in world space coordinates.
Arguments
light Pointer to the light.
x X coordinate of the light position (in world space coordinates).
y Y coordinate of the light position (in world space coordinates).
z Z coordinate of the light position (in world space coordinates).
Return Value
The argument light if successful, and NULL otherwise.
Comments
This function is only valid for point and conical lights (those lights created with the light types rwPOINT or rwCONICAL).
See Also