Jazz2::Scripting::Legacy::jjPARTICLEPIXEL struct

Per-particle data for a pixel particle.

Public functions

auto get_color(std::int32_t i) const -> std::uint8_t
Returns the color of the pixel at the given index.
auto set_color(std::int32_t i, std::uint8_t value) -> std::uint8_t
Sets the color of the pixel at the given index.

Public variables

std::uint8_t size
Size of the pixel cluster.