setHorizonParallaxCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
Line 16: Line 16:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso=
|seealso=
}}
}}

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