class
#include <bn_blending_actions.h>
blending_transparency_top_weight_manager Manages the weight of the transparency blending for the top layer.
Public static functions
- static auto get() -> fixed
- Returns the weight of the transparency blending for the top layer, with 0 being fully transparent and 1 being fully visible.
- static void set(fixed transparency_top_weight)
- Sets the weight of the transparency blending for the top layer, with 0 being fully transparent and 1 being fully visible.
Function documentation
static void bn:: blending_transparency_top_weight_manager:: set(fixed transparency_top_weight)
Sets the weight of the transparency blending for the top layer, with 0 being fully transparent and 1 being fully visible.
Parameters | |
---|---|
transparency_top_weight | Transparency weight in the range [0..1]. |
Keep in mind that transparency and fade blendings can't be enabled at the same time.