class
#include <bn_bg_palette_actions.h>
bg_palette_grayscale_manager Manages the intensity of the grayscale effect applied to a bg_
Public static functions
-
static auto get(const bg_
palette_ ptr& palette) -> fixed - Returns the intensity of the grayscale effect applied to the given bg_
palette_ ptr. -
static void set(fixed intensity,
bg_
palette_ ptr& palette) - Sets the intensity of the grayscale effect applied to the given bg_
palette_ ptr.
Function documentation
static void bn:: bg_palette_grayscale_manager:: set(fixed intensity,
bg_ palette_ ptr& palette)
Sets the intensity of the grayscale effect applied to the given bg_
Parameters | |
---|---|
intensity | New intensity in the range [0..1]. |
palette | bg_ |