setHorizonParallaxCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {3,}\|" to " |")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 0.50
|0.50


|gr1= Camera Control
|gr1= Camera Control
Line 9: Line 8:
|gr2= System
|gr2= System


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


| '''setHorizonParallaxCoef''' coef
|s1= [[setHorizonParallaxCoef]] coef


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


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


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


|
|seealso=
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
[[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