C3DCamera::SetFOV

Top  Previous  Next

Syntax:
 
SetFOV(float  fov)
 
Purpose:
Sets the field of view for a camera's viewport.

 
Parameters:
fov - The new field of view.
 
Returned value(s):
None

 

Application:

cam1.SetFOV(0.5)

 

Additional Info:
This fov value is a fraction of the viewing angle. The default value is PI/4. The value must be greater than 0.