# SetSkyParallax

Sky
4.9.1.0 GWE
bool
int mode Scroll mode. 0 standard; 1 wind moves with the wind.
int xpar Horizontal parallaxity. At value 10 the sky is linked to the landscape; at higher values the sky will be parallax to the landscape; at 0 the previous value is kept.
int ypar Vertical parallaxity.
int xdir Constant horizontal motion of the sky.
int ydir Constant vertical motion of the sky.
int x X scroll position of the sky.
int y Y scroll position of the sky.
Changes parallaxity and scroll speed of the sky.
If you specify SkyPar_Keep() for one of the parameters, the previously set value will be kept.
SetSkyParallax(1, 20,20, 0,0, SkyPar_Keep(),SkyPar_Keep());
Sets the sky to parallax and moving with the wind.
SkyPar_Keep
Sven2
2002-04