FieldOfView (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Sncplay42 create |
>JulienDethurens All the properties of the camera can be set by a normal script too.. Remember: the server IS a client. And the server HAS a camera. And normal scripts CAN set the properties of that camera. |
||
(23 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{CatUp|Properties}} | {{CatUp|Properties}} | ||
<onlyinclude>{{Property | <onlyinclude>{{Property | ||
|name = FieldOfView | |name=FieldOfView | ||
| | |type={{type|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 | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{clear floats}} | |||
[[Image:FOV_20.png||333px|thumb|left|Seeing through a camera with FieldOfView set to 20.]] | |||
[[Image:FOV_50.png||333px|thumb|left|The same camera, this time with FieldOfView set to 50.]] | |||
[[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}} | {{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 | [[Category:Properties]] |
Latest revision as of 05:39, 7 April 2012
![]() | |
Type | 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