BIS fnc camera setFOV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )W([a-z])" to "$1w$3")
Line 12: Line 12:
|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]]

Revision as of 12:33, 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