API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class > OdCamera Methods > OdCamera::pan Method
OdCamera::pan Method
Syntax
C++
void pan(double theta, double phi);
Parameters 
Description 
double theta 
[in] The number of degrees to move the camera target to the right.  
double phi 
[in] The number of degrees to move the camera target up. 

Changes the camera position and its target by moving it in the xy-plane by the specified degrees. The camera position and distance between the camera and its target remain unchanged. 

 

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