setHorizonParallaxCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(15 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


|gr1= Camera Control |GROUP1=
|gr2= System


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


| Sets coef used to shift horizon position based on camera height (use 0 to disable shifting).  |DESCRIPTION=
|s1= [[setHorizonParallaxCoef]] coef
____________________________________________________________________________________________


| '''setHorizonParallaxCoef''' coef |SYNTAX=
|p1= coef: [[Number]]


|p1= coef: [[Number]] |PARAMETER1=
|r1= [[Nothing]]


| [[Nothing]] |RETURNVALUE=  
|x1= <sqf>setHorizonParallaxCoef 1;</sqf>


 
|seealso=
|x1= <code>[[setHorizonParallaxCoef]] 1;</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
|  |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>
{{GameCategory|arma3|New Scripting Commands List}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}

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