rprCameraSetFocalTilt

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

Parameters

Parameter

Description

camera

The camera to set focal tilt for.

tilt

Focal tilt in degrees (from -90 to 90).

Notes

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

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.