bn::blending_fade_alpha_manager class

Manages the weight of the fade blending.

Public static functions

static auto get() -> fixed
Returns the weight of the fade blending, with 0 being disabled and 1 being fully applied.
static void set(fixed fade_alpha)
Sets the weight of the fade blending, with 0 being disabled and 1 being fully applied.

Function documentation

static void bn::blending_fade_alpha_manager::set(fixed fade_alpha)

Sets the weight of the fade blending, with 0 being disabled and 1 being fully applied.

Parameters
fade_alpha Fade weight in the range [0..1].

Keep in mind that fade blending and other blendings can't be enabled at the same time.