bn::sprite_palette_hue_shift_manager class

Manages the intensity of the hue shift effect applied to a sprite_palette_ptr.

Public static functions

static auto get(const sprite_palette_ptr& palette) -> fixed
Returns the intensity of the hue shift effect applied to the given sprite_palette_ptr.
static void set(fixed intensity, sprite_palette_ptr& palette)
Sets the intensity of the hue shift effect applied to the given sprite_palette_ptr.

Function documentation

static void bn::sprite_palette_hue_shift_manager::set(fixed intensity, sprite_palette_ptr& palette)

Sets the intensity of the hue shift effect applied to the given sprite_palette_ptr.

Parameters
intensity New intensity in the range [0..1].
palette sprite_palette_ptr to modify.