bn::sprite_palettes_grayscale_manager class

Manages the intensity of the grayscale effect applied to all sprite color palettes.

Public static functions

static auto get() -> fixed
Returns the intensity of the grayscale effect applied to all sprite color palettes.
static void set(fixed intensity)
Sets the intensity of the grayscale effect applied to all sprite color palettes.

Function documentation

static void bn::sprite_palettes_grayscale_manager::set(fixed intensity)

Sets the intensity of the grayscale effect applied to all sprite color palettes.

Parameters
intensity New intensity in the range [0..1].