camSetFocus: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 99358 by killzone_kid on 2017-04-03T17:10:09Z) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets camera focus range in format [distance, blur]. blur param - sets the camera focus blur. It does not automatically commit changes (see [[camCommit]]). Use [-1, -1] to disable focus completely. |= | | Sets camera focus range in format [distance, blur]. blur param - sets the camera focus blur. It does not automatically commit changes (see [[camCommit]]). Use [-1, -1] to disable focus completely. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| camera '''camSetFocus''' focusRange |= | | camera '''camSetFocus''' focusRange |SYNTAX= | ||
|p1= camera: [[Object]] |= | |p1= camera: [[Object]] |PARAMETER1= | ||
|p2= focusRange: [[Array]] |= | |p2= focusRange: [[Array]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_camera [[camSetFocus]] [50, 1];</code> |= | |x1= <code>_camera [[camSetFocus]] [50, 1];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[camCreate]], [[camCommand]], [[camDestroy]], [[camCommit]], [[camPrepareFocus]] |= | | [[camCreate]], [[camCommand]], [[camDestroy]], [[camCommit]], [[camPrepareFocus]] |SEEALSO= | ||
}} | }} |
Revision as of 14:35, 7 April 2019
Description
- Description:
- Sets camera focus range in format [distance, blur]. blur param - sets the camera focus blur. It does not automatically commit changes (see camCommit). Use [-1, -1] to disable focus completely.
- Groups:
- Uncategorised
Syntax
- Syntax:
- camera camSetFocus focusRange
- Parameters:
- camera: Object
- focusRange: Array
- Return Value:
- Nothing
Examples
- Example 1:
_camera camSetFocus [50, 1];
Additional Information
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