Radeon ProRender

rprDiskLightSetAngle

Sets the emission angle for a disk light.

rpr_status rprDiskLightSetAngle( rpr_light light,
  rpr_float angle);

Parameters

Parameter Description
light The light for which angle will be set.
angle Angle at which light will be emitted from the light source.

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.