Radeon ProRender


Sets camera sensor tilt (RPR_CAMERA_FOCAL_TILT) in degrees from the camera body direction for the tilt-shift effect.

rpr_status rprCameraSetFocalTilt( rpr_camera camera,
  rpr_float tilt);


Parameter Description
camera The camera to set focal tilt for.
tilt Focal tilt in degrees (from -90 to 90).


Often used along with rprCameraSetLensShift() to achieve the tilt-shift effect.


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.