rprCameraSetTiltCorrection

Sets camera sensor tilt correction factors (RPR_CAMERA_TILT_CORRECTION) in for the tilt-shift effect. Any float values are valid.

rpr_status rprCameraSetTiltCorrection(

rpr_camera camera,

rpr_float tiltX,

rpr_float tiltY);

Parameters

Parameter

Description

camera

The camera to set sensor size for.

tiltX

Sensor width in millimeters.

tiltY

Sensor height in millimeters.

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.