API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class > OdCamera Methods > OdCamera::roll Method
OdCamera::roll Method
Syntax
C++
void roll(double theta);
Parameters 
Description 
double theta 
[in] A rotation angle (in degrees). 

Rotates the camera around its target with a specified angle (in degrees). The camera position, target and field remain unchanged. If the rotation angle is positive, the camera rotation is clockwise, otherwise the camera rotation is counter-clockwise. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.