class
#include <bn_music_actions.h>
music_pitch_toggle_action Changes the pitch of the active Direct Sound music when the action is updated a given number of times.
Base classes
-
template<typename Property, class PropertyManager>class toggle_template_action<fixed, music_pitch_manager>
- Changes the property when the action is updated a given number of times.
Constructors, destructors, conversion operators
- music_pitch_toggle_action(int duration_updates, fixed new_pitch)
- Constructor.
Public functions
Function documentation
bn:: music_pitch_toggle_action:: music_pitch_toggle_action(int duration_updates,
fixed new_pitch)
Constructor.
Parameters | |
---|---|
duration_updates | How many times the action has to be updated to change the pitch. |
new_pitch | New pitch when the action is updated duration_updates times. |
This pitch must be in the range [0.5..2].