API Reference > Classes > PRC Graphical Classes > OdPrcCamera Class > OdPrcCamera Methods > OdPrcCamera::setAspectRatio Method
OdPrcCamera::setAspectRatio Method
Syntax
C++
void setAspectRatio(double aspect_ratio);
Parameters 
Description 
double aspect_ratio 
[in] A new value of the aspect ratio to be set. 

Sets a new value of the aspect ratio of X to Y. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.