Jazz2::Tiles::TileMap::DestructibleDebris struct

Describes a visual debris (particle effect).

Public variables

Vector2f Pos
Position.
std::uint16_t Depth
Depth (layer).
Vector2f Size
Size.
Vector2f Speed
Speed.
Vector2f Acceleration
Acceleration.
float Scale
Scale.
float ScaleSpeed
Scale change speed.
float Angle
Angle.
float AngleSpeed
Angle change speed.
float Alpha
Alpha.
float AlphaSpeed
Alpha change speed.
float Time
Time remaining until disposal.
float TexScaleX
Texture horizontal scale.
float TexBiasX
Texture horizontal bias.
float TexScaleY
Texture vertical scale.
float TexBiasY
Texture vertical bias.
Texture* DiffuseTexture
Diffuse texture.
std::int32_t PaletteOffset
Flat palette offset when DiffuseTexture is an indexed sprite.
DebrisFlags Flags
Behavior flags.

Variable documentation

std::int32_t Jazz2::Tiles::TileMap::DestructibleDebris::PaletteOffset

Flat palette offset when DiffuseTexture is an indexed sprite.

The sprite is recolored at draw time. -1 when the texture holds baked colors (e.g. a tileset texture) and must use the plain Sprite shader.