camSetFocus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|CAMSETFOCUS]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |CAMSETFOCUS]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|CAMSETFOCUS]]


| ofp |= Game name


<h2 style="color:#000066">'''''camera'' camSetFocus ''focusRange'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| focusRange is in format [distance,blur]. Sets the camera focus blur. It does not automatically commit changes. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| camera '''camSetFocus''' focusRange |= Syntax


'''camera:''' [[Object]]
|p1= camera: [[Object]] |= Parameter 1


'''focusRange:''' [[Array]]
|p2= focusRange: [[Array]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_camera camSetFocus [50, 1]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


'''focusRange''' is in format [distance,blur].
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Sets the camera focus blur.
<!-- Note Section END -->
</dl>


It does not automatically commit changes.
<h3 style="display:none">Bottom Section</h3>


 
[[Category:Scripting Commands|CAMSETFOCUS]]
'''Example:'''
[[Category:Scripting Commands OFP Elite |CAMSETFOCUS]]
 
[[Category:Scripting Commands ArmA|CAMSETFOCUS]]
_camera '''camSetFocus''' [50, 1]

Revision as of 23:34, 1 August 2006

Hover & click on the images for description

Description

Description:
focusRange is in format [distance,blur]. Sets the camera focus blur. It does not automatically commit changes.
Groups:
Uncategorised

Syntax

Syntax:
camera camSetFocus focusRange
Parameters:
camera: Object
focusRange: Array
Return Value:
Nothing

Examples

Example 1:
_camera camSetFocus [50, 1]

Additional Information

See also:
See also needed

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

Notes

Bottom Section