Difference between revisions of "Con SetCameraFOV"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(OBSE)
 
imported>Appler
m
 
(5 intermediate revisions by 4 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.
*This function was not designed to be run from scripts, and so may not work as expected.
*This function was not designed to be run from scripts, and so may not work as expected.


[[Category: OBSE Functions|Setimagespaceglow]]
<!--[[Category: OBSE Functions|Setcamerafov]]
[[Category: OBSE Console Functions|Setimagespaceglow]]
[[Category: OBSE Console Functions|Setcamerafov]]-->
 
[[Category:Functions]]
[[Category:Functions (OBSE)]]
[[Category:Console Functions (OBSE)]]

Latest revision as of 18: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.

Notes[edit | edit source]

  • 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.