API Reference > Classes > PRC Graphical Classes > OdPrcCamera Class
OdPrcCamera Class
OdPrcCameraOdPrcCameraOdPrcCamera
Syntax
C++
class OdPrcCamera : public OdPrcReferencedBase;

PrcCamera.h

 

Class stores information about a camera.

Returns the current aspect ratio of X to Y. 
This is the overview for the location method overload. 
This is the overview for the lookAt method overload. 
Returns the current value of the orthographic flag. The orthographic flag determines whether the projection is orthographic (true) or perspective (false). 
Sets a new value of the aspect ratio of X to Y.
 
Sets a new value of the orthographic flag. The orthographic flag determines whether the projection is orthographic (true) or perspective (false).
 
Sets a new value of the field angle on the x-direction.
 
Sets a new value of the field angle on the y-direction of the camera.
 
Sets a new value of the far clipping plane distance.
 
Sets a new value of the near clipping plane distance.
 
Sets a new value of the zoom factor.
 
up 
This is the overview for the up method overload. 
xFov 
Returns the current value of the field angle on the x-direction. The field angle is returned in radians. 
yFov 
Returns the current field angle on the y-direction of the camera. The angle is returned in radians. 
zFar 
Returns the current far clipping plane distance. 
Returns the current near clipping plane distance. 
Returns the current zoom factor. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.