class
#include <bn_regular_bg_actions.h>
regular_bg_mosaic_toggle_action Toggles if the mosaic effect must be applied to a regular_
Base classes
-
template<typename Value, class PropertyManager>class bool_toggle_value_template_action<regular_bg_ptr, regular_bg_mosaic_manager>
- Toggles a boolean property of a value when the action is updated a given number of times.
Constructors, destructors, conversion operators
-
regular_bg_mosaic_toggle_action(const regular_
bg_ ptr& bg, int duration_updates) - Constructor.
-
regular_bg_mosaic_toggle_action(regular_
bg_ ptr&& bg, int duration_updates) - Constructor.
Public functions
-
auto bg() const -> const regular_
bg_ ptr& - Returns the regular_
bg_ ptr to modify.
Function documentation
bn:: regular_bg_mosaic_toggle_action:: regular_bg_mosaic_toggle_action(const regular_ bg_ ptr& bg,
int duration_updates)
Constructor.
Parameters | |
---|---|
bg | regular_ |
duration_updates | How much times the action has to be updated to toggle if the mosaic effect must be applied or not. |
bn:: regular_bg_mosaic_toggle_action:: regular_bg_mosaic_toggle_action(regular_ bg_ ptr&& bg,
int duration_updates)
Constructor.
Parameters | |
---|---|
bg | regular_ |
duration_updates | How much times the action has to be updated to toggle if the mosaic effect must be applied or not. |