rprDiskLightSetAngle

Sets outer 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

Outer angle for a disk light in radians.

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.