Public Member Functions

CameraProxyBase Class Reference

Base class for CameraProxy. More...

Inheritance diagram for CameraProxyBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CameraProxyBase (const CameraProxyBase &p)
DelayedDispatch set_fov (float fov_deg)
 Set the field of view (FOV) of the camera.
DelayedDispatch set_zoom_distance (float zoom_distance)
 Set the zoom distance of the camera.
DelayedDispatch set_orthographic (bool orthographic)
 Toggles between orthographic and perspective rendering.

Detailed Description

Base class for CameraProxy.


Member Function Documentation

DelayedDispatch set_fov ( float  fov_deg  ) 

Set the field of view (FOV) of the camera.

Parameters:
fov_deg The wanted vertical FOV in degrees.
DelayedDispatch set_orthographic ( bool  orthographic  ) 

Toggles between orthographic and perspective rendering.

Parameters:
orthographic Set to true and false for orthographic and perspective rendering respectively.
DelayedDispatch set_zoom_distance ( float  zoom_distance  ) 

Set the zoom distance of the camera.

Cameras are focused at their local origins. The viewer position is calculated as the focus point plus the local x-axis multiplied by a zoom distance.

Parameters:
zoom_distance The distance to offset the viewer from the focus. zoom_distance > 0.

The documentation for this class was generated from the following files: