Radeon ProRender


Sets the direction of a sky light. Use this to rotate a sky light.

rpr_status rprSkyLightSetDirection( rpr_light skylight,
  rpr_float x,
  rpr_float y,
  rpr_float z);


Parameter Description
skylight The sky light to set direction for.
x Direction X.
y Direction Y.
z Direction Z.


Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.

To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.