rprCameraSetFarPlane

Sets far plane of a camera.

rpr_status rprCameraSetFarPlane(

rpr_camera camera,

rpr_float far);

Parameters

Parameter

Description

camera

The camera to set far plane for.

far

Far plane distance in meters, default is 100000000f.

Notes

Objects farther from the camera than the far plane will not be rendered.

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.