class
#include <bn_music_actions.h>
music_tempo_to_action Modifies the tempo of the active Direct Sound music until it has a given state.
Base classes
-
template<typename Property, class PropertyManager>class to_template_action<fixed, music_tempo_manager>
- Modifies the property until it has a given state.
Constructors, destructors, conversion operators
- music_tempo_to_action(int duration_updates, fixed final_tempo)
- Constructor.
Public functions
- auto final_tempo() const -> fixed
- Returns the tempo when the action is updated the given number of times.
Function documentation
bn:: music_tempo_to_action:: music_tempo_to_action(int duration_updates,
fixed final_tempo)
Constructor.
Parameters | |
---|---|
duration_updates | Number of times that the action must be updated until the tempo is equal to final_tempo. |
final_tempo | tempo when the action is updated duration_updates times. |
This tempo must be in the range [0.5..2].