rprSceneSetCameraRight
Sets the right camera for a scene.
This is the main camera which for rays generation for the scene.
rpr_status rprSceneSetCameraRight( |
rpr_scene scene, |
rpr_camera camera); |
Parameters
Parameter |
Description |
---|---|
scene |
The scene for which the camera will be set. |
camera |
The camera to be applied to the scene. |
Notes
The camera needs to be set before rendering.
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.