BIS fnc camera setFOV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00


|gr1 = Camera
|gr1= Camera
 
<!--|exec= server|=-->
 
<!--|arg= local-->
 
<!--|eff= local-->


|descr= Sets the FOV of given camera.
|descr= Sets the FOV of given camera.
Line 17: Line 10:
|s1= [camera, FOV] call [[BIS_fnc_camera_setFOV]]
|s1= [camera, FOV] call [[BIS_fnc_camera_setFOV]]


|p1= camera: [[Object]] - The camera
|p1= camera: [[Object]] - the camera


|p2= FOV: [[Number]] - (Optional, default 0,75) Wanted FOV
|p2= FOV: [[Number]] - (Optional, default 0,75) wanted FOV


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[BIS_camera,0.5] [[call]] [[BIS_fnc_camera_setFOV]];</code>
|x1= <sqf>[BIS_camera,0.5] call BIS_fnc_camera_setFOV;</sqf>
 
|exec= call


|seealso= [[BIS_fnc_camera_getFOV]]
|seealso= [[BIS_fnc_camera_getFOV]]
}}
}}
[[Category:Functions|{{uc:camera_setFOV}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:camera_setFOV}}]]

Latest revision as of 15:51, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets the FOV of given camera.
Execution:
call
Groups:
Camera

Syntax

Syntax:
[camera, FOV] call BIS_fnc_camera_setFOV
Parameters:
camera: Object - the camera
FOV: Number - (Optional, default 0,75) wanted FOV
Return Value:
Nothing

Examples

Example 1:
[BIS_camera,0.5] call BIS_fnc_camera_setFOV;

Additional Information

See also:
BIS_fnc_camera_getFOV

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note