FieldOfView (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator Added images to show how raising FieldOfView distorts the camera |
>JulienDethurens No edit summary |
||
Line 3: | Line 3: | ||
<onlyinclude>{{Property | <onlyinclude>{{Property | ||
|name = FieldOfView | |name = FieldOfView | ||
|property = [[ | |property = [[float]] | ||
|description = Sets the angle of the camera's field of view, between 20 and 80 degrees. | |description = Sets the angle of the camera's field of view, between 20 and 80 degrees. | ||
|object = Camera | |object = Camera | ||
Line 10: | Line 10: | ||
{{clear floats}} | {{clear floats}} | ||
[[Image:FOV_20.png||333px|thumb| | [[Image:FOV_20.png||333px|thumb|left|Seeing through a camera with FieldOfView set to 20.]] | ||
[[Image:FOV_50.png||333px|thumb| | [[Image:FOV_50.png||333px|thumb|left|The same camera, this time with FieldOfView set to 50.]] | ||
[[Image:FOV_80.png||333px|thumb| | [[Image:FOV_80.png||333px|thumb|left|This time, FieldOfView is set to 80. Notice how the view becomes more and more distorted as the FieldOfView increases.]] | ||
{{clear floats}} | |||
==Notes== | ==Notes== | ||
* Currently the property expects a value in degrees when set, but gives [[radians]] when read - this is a bug | * Currently the property expects a value in degrees when set, but gives [[radians]] when read - this is a bug |
Revision as of 08:03, 5 February 2012
![]() | |
Property | float |
Description | Sets the angle of the camera's field of view, between 20 and 80 degrees. |
Member of | Camera |



Notes
- Currently the property expects a value in degrees when set, but gives radians when read - this is a bug