jjLAYERCYLINDER class no handles JJ2+
Properties of the cylinder effect of a layer, see jjLAYER::cylinder
The values are shared with the other texture styles of the same layer, see jjLAYERWARPHORIZON.
Functions
- jjPALCOLOR getFadeColor() const C++
- Returns the color the texture fades into near the horizon, only its red, green and blue are used
- void setFadeColor(jjPALCOLOR color) C++
- Sets the color the texture fades into near the horizon, only its red, green and blue are used
Properties
- bool fade C++
- Whether the texture fades into the fade color towards the horizon,
trueby default - float fadePositionX
- The horizontal position of the center of the horizon as a fraction of the view, 0.5 by default
- float fadePositionY
- The vertical position of the center of the horizon as a fraction of the view
- bool halfSize C++
- Whether the texture is repeated four times across the view with a stronger curve,
falseby default
Property documentation
float jjLAYERCYLINDER:: fadePositionY
The vertical position of the center of the horizon as a fraction of the view
0.5 by default, values far from it tend to look odd, especially with halfSize.