setHorizonParallaxCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version ____________________...")
 
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 0.50


|0.50|= Game version
|gr1= Camera Control
____________________________________________________________________________________________


| Sets coef used to shift horizon position based on camera height (use 0 to disable shifting).  |= Description
|gr2= System
____________________________________________________________________________________________


| '''setHorizonParallaxCoef''' coef |= Syntax
|descr= Sets coef used to shift horizon position based on camera height (use 0 to disable shifting).


|p1= coef: [[Number]] |= PARAMETER1
|s1= [[setHorizonParallaxCoef]] coef


| [[Nothing]] |= RETURNVALUE
|p1= coef: [[Number]]


|r1= [[Nothing]]


|x1= <code>
|x1= <sqf>setHorizonParallaxCoef 1;</sqf>
</code>|= EXAMPLE1


____________________________________________________________________________________________
|seealso=
 
|  |= SEEALSO
 
|= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 13:16, 5 May 2022

Hover & click on the images for description

Description

Description:
Sets coef used to shift horizon position based on camera height (use 0 to disable shifting).
Groups:
Camera ControlSystem

Syntax

Syntax:
setHorizonParallaxCoef coef
Parameters:
coef: Number
Return Value:
Nothing

Examples

Example 1:
setHorizonParallaxCoef 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