class
#include <bn_blending_actions.h>
blending_transparency_bottom_weight_to_action Modifies the weight of the transparency blending for the bottom layer until it has a given state.
Base classes
-
template<typename Property, class PropertyManager>class to_template_action<fixed, blending_transparency_bottom_weight_manager>
- Modifies the property until it has a given state.
Constructors, destructors, conversion operators
- blending_transparency_bottom_weight_to_action(int duration_updates, fixed final_transparency_bottom_weight)
- Constructor.
Public functions
- auto final_transparency_bottom_weight() const -> fixed
- Returns the weight of the transparency blending for the bottom layer when the action is updated the given number of times.
Function documentation
bn:: blending_transparency_bottom_weight_to_action:: blending_transparency_bottom_weight_to_action(int duration_updates,
fixed final_transparency_bottom_weight)
Constructor.
Parameters | |
---|---|
duration_updates | Number of times that the action must be updated until the weight of the transparency blending for the bottom layer is equal to final_transparency_bottom_weight. |
final_transparency_bottom_weight | Weight of the transparency blending for the bottom layer when the action is updated duration_updates times. |
This weight must be in the range [0..1].
Keep in mind that transparency and fade blendings can't be enabled at the same time.