rprCameraSetExposure

Sets the exposure time for a camera.

rpr_status rprCameraSetExposure(

rpr_camera camera,

rpr_float exposure);

Parameters

Parameter

Description

camera

The camera to set exposure time for.

exposure

Represents a time length in the same time scale as rprShapeSetMotionTransform() and rprCameraSetMotionTransform() do.

Notes

Only has an effect if DOF or Motion Blur is enabled.

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.

Errors

Possible error codes:

  • RPR_ERROR_INVALID_PARAMETER