class
#include <bn_bgs_mosaic_actions.h>
bgs_mosaic_stretch_toggle_action Changes the stretch of the mosaic applied to the backgrounds when the action is updated a given number of times.
Base classes
-
template<typename Property, class PropertyManager>class toggle_template_action<fixed, bgs_mosaic_stretch_manager>
- Changes the property when the action is updated a given number of times.
Constructors, destructors, conversion operators
- bgs_mosaic_stretch_toggle_action(int duration_updates, fixed new_stretch)
- Constructor.
Public functions
- auto new_stretch() const -> fixed
- Returns the stretch to set when the action is updated the given number of times.
Function documentation
bn:: bgs_mosaic_stretch_toggle_action:: bgs_mosaic_stretch_toggle_action(int duration_updates,
fixed new_stretch)
Constructor.
Parameters | |
---|---|
duration_updates | How many times the action has to be updated to change the stretch. |
new_stretch | New stretch to set when the action is updated duration_updates times. |
This stretch must be in the range [0..1].