setHorizonParallaxCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|0.50|Game version=
|0.50


|gr1= Camera Control |GROUP1=
|gr1= Camera Control


|gr2= System |GROUP2=
|gr2= System


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


| '''setHorizonParallaxCoef''' coef |SYNTAX=
| '''setHorizonParallaxCoef''' coef


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


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]




|x1= <code>[[setHorizonParallaxCoef]] 1;</code>|EXAMPLE1=
|x1= <code>[[setHorizonParallaxCoef]] 1;</code>




| |SEEALSO=
|


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 12:11, 18 January 2021

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