TextureStyleParams struct
#include <Jazz2/Scripting/Legacy/Layers.h>
Parameters of one texture style of a layer, the object behind jjLAYERWARPHORIZON and the others.
What they mean depends on the style - the fade position of a warp horizon, a tunnel and a cylinder, the pivot of a menu, the amplitudes of a wave, the vanishing point and the top of a reflection - but they're the same values for all the styles, a value set for one is the value of the others too (see SetStyleValue()), only the tint color is a reflection's own. The fade color and the stars, which each style takes in its own way too, are of the layer as well (see ApplyTexture()).
Public variables
- jjLAYER* Owner
- Layer the parameters are of.
- float X
- Horizontal value, as a fraction of the view (of the layer for
InnerLayer), or the horizontal amplitude. - float Y
- Vertical value, as a fraction of the view (of the layer for
InnerLayer), or the vertical amplitude. - bool Fade
- Whether it fades into the fade color.
-
std::
uint8_t TintColor - Palette entry a reflection is tinted with.