Difference between revisions of "Con SetCameraFOV"

imported>WereWolf
imported>Appler
m
 
(3 intermediate revisions by 3 users not shown)
Line 4: Line 4:
  con_SetCameraFOV Degrees
  con_SetCameraFOV Degrees


Sets the camera's field of view in degrees. Defaults to 75.
Sets the camera's horizontal field of view in degrees. Defaults to 75.
 
Increasing or decreasing the horizontal FOV will increase or decrease the vertical FOV proportionally, with the proportion always being 5:4, regardless of the resolution the game is running at.  For example, calling this command with Degrees=90 will result in a vertical FOV of 72 degrees.


==Notes==
==Notes==


*This function accepts variables.
*Due to limitations of the Wiki software, the title of this article, and links to it, cannot display it correctly - there is an underscore (_) in the function's name.
*Due to limitations of the Wiki software, the title of this article, and links to it, cannot display it correctly - there is an underscore (_) in the function's name.
*This function is identical to the SetCameraFOV [[:Category: Console Functions|Console Function]], and should behave as if you had called that function from the console.
*This function is identical to the SetCameraFOV [[:Category: Console Functions|Console Function]], and should behave as if you had called that function from the console.
Line 17: Line 20:
[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (OBSE)]]
[[Category:Functions (OBSE)]]
[[Category:Miscellaneous Functions]]
[[Category:Console Functions (OBSE)]]
[[Category:Miscellaneous Functions (OBSE)]]

Latest revision as of 19:56, 27 March 2010

A command for Oblivion Script Extender

Syntax:

con_SetCameraFOV Degrees

Sets the camera's horizontal field of view in degrees. Defaults to 75.

Increasing or decreasing the horizontal FOV will increase or decrease the vertical FOV proportionally, with the proportion always being 5:4, regardless of the resolution the game is running at. For example, calling this command with Degrees=90 will result in a vertical FOV of 72 degrees.

NotesEdit

  • This function accepts variables.
  • Due to limitations of the Wiki software, the title of this article, and links to it, cannot display it correctly - there is an underscore (_) in the function's name.
  • This function is identical to the SetCameraFOV Console Function, and should behave as if you had called that function from the console.
  • This function was not designed to be run from scripts, and so may not work as expected.