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 - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(One intermediate revision 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]]

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