jjLAYERTUNNEL class no handles JJ2+

Properties of the tunnel effect of a layer, see jjLAYER::tunnel

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 towards the center, only its red, green and blue are used
void setFadeColor(jjPALCOLOR color) C++
Sets the color the texture fades into towards the center, only its red, green and blue are used

Properties

bool fade C++
Whether the texture fades into the fade color towards the center, true by default
float fadePositionX
The horizontal position of the tunnel's center as a fraction of the view, 0.5 by default
float fadePositionY
The vertical position of the tunnel's center as a fraction of the view, 0.5 by default
bool spiral C++
Whether the rings twist into a spiral towards the center, false by default