Changes the pitch of the active Direct Sound music when the action is updated a given number of times.
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)
music_pitch_toggle_action:: music_pitch_toggle_action(int duration_updates,
|duration_updates||How much 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].