BIS fnc camera setFocus: Difference between revisions
Jump to navigation
Jump to search
m (infobox to template) |
m (page filled) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | |game1= arma3 | ||
|1.00 | |version1= 1.00 | ||
<! | <!--|exec= server|=--> | ||
<! | <!--|arg= local--> | ||
| | <!--|eff= local--> | ||
|descr= Returns camera focus. | |||
|s1= [camera, focusValues] call [[BIS_fnc_camera_getFocus]] | |||
|p1= camera: [[Object]] - The camera | |||
|[] | |p2= focusValues: [[Array]] - (Optional, default [-1,-1]) Focus values in format [distance, blur] | ||
| | |r1= [[Nothing]] | ||
| | |x1= <code>[BIS_camera, [0.5,0.5]] [[call]] [[BIS_fnc_camera_setFocus]];</code> | ||
| | |exec= call | ||
| | |seealso= [[BIS_fnc_camera_getFocus]] | ||
}} | }} | ||
Revision as of 11:54, 9 January 2020
Description
- Description:
- Returns camera focus.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [camera, focusValues] call BIS_fnc_camera_getFocus
- Parameters:
- camera: Object - The camera
- focusValues: Array - (Optional, default [-1,-1]) Focus values in format [distance, blur]
- Return Value:
- Nothing
Examples
- Example 1:
[BIS_camera, [0.5,0.5]] call BIS_fnc_camera_setFocus;
Additional Information
- See also:
- BIS_fnc_camera_getFocus
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