setHorizonParallaxCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=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= <sqf>setHorizonParallaxCoef 1;</sqf>


|x1= <code>[[setHorizonParallaxCoef]] 1;</code>
|seealso=
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

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