class
#include <bn_blending_actions.h>
blending_intensity_alpha_loop_action Modifies the weight of the intensity blending from a minimum to a maximum. When the weight is equal to the given final state, it goes back to its initial state and vice versa.
Base classes
-
template<typename Property, class PropertyManager>class loop_template_action<fixed, blending_intensity_alpha_manager>
- Modifies the property by delta from a minimum to a maximum. When the property is equal to the given final state, it goes back to its initial state and vice versa.
Constructors, destructors, conversion operators
- blending_intensity_alpha_loop_action(int duration_updates, fixed final_intensity_alpha)
- Constructor.
Public functions
- auto final_intensity_alpha() const -> fixed
- When the weight of the intensity blending is equal to this parameter, it goes back to its initial state and vice versa.
Function documentation
bn:: blending_intensity_alpha_loop_action:: blending_intensity_alpha_loop_action(int duration_updates,
fixed final_intensity_alpha)
Constructor.
Parameters | |
---|---|
duration_updates | How many times the action has to be updated before changing the direction of the weight delta. |
final_intensity_alpha | When the weight of the intensity blending is equal to this parameter, it goes back to its initial state and vice versa. |
This weight must be in the range [0..1].
Keep in mind that intensity and fade blendings can't be enabled at the same time.