bn::bg_palette_fade_manager class

Manages the intensity of the fade effect applied to a bg_palette_ptr.

Contents

Public static functions

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

Function documentation

static void bn::bg_palette_fade_manager::set(fixed intensity, bg_palette_ptr& palette)

Sets the intensity of the fade effect applied to the given bg_palette_ptr.

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