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 - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
Line 16: Line 16:
|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]]
}}
}}

Revision as of 19:03, 5 May 2022

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