Radeon ProRender

rprSkyLightSetDirection

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);

Parameters

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

Return

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.