API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class > OdCamera Methods > OdCamera::setProjection Method
OdCamera::setProjection Method
Syntax
C++
void setProjection(Camera::Projection type, double oblique_y_skew = 0., double oblique_x_skew = 0.);
Parameters 
Description 
Camera::Projection type 
[in] A new camera projection type.  
double oblique_y_skew = 0. 
[in] A new vertical oblique skew value.  
double oblique_x_skew = 0. 
[in] A new horizontal skew. 

Sets the camera projection. The camera projection is defined with a projection type and oblique skews in horizontal and vertical directions. 

 

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