BIS fnc camera setFOV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(2 intermediate revisions by the same user not shown)
Line 10: 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>


|seealso= [[BIS_fnc_camera_getFOV]]
|seealso= [[BIS_fnc_camera_getFOV]]
}}
}}

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