bn::blending_transparency_alpha_manager class

Manages the weight of the transparency blending.

Public static functions

static auto get() -> fixed
Returns the weight of the transparency blending, with 0 being fully transparent and 1 being fully visible.
static void set(fixed transparency_alpha)
Sets the weight of the transparency blending, with 0 being fully transparent and 1 being fully visible.

Function documentation

static void bn::blending_transparency_alpha_manager::set(fixed transparency_alpha)

Sets the weight of the transparency blending, with 0 being fully transparent and 1 being fully visible.

Parameters
transparency_alpha Transparency weight in the range [0..1].

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