setHorizonParallaxCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(20 intermediate revisions by 2 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>setHorizonParallaxCoef 1;
|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}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14: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