class
#include <bn_sound_actions.h>
sound_panning_loop_action Modifies the panning of a sound effect from a minimum to a maximum. When the panning is equal to the given final state, it goes back to its initial state and vice versa.
Base classes
-
template<typename Value, typename Property, class PropertyManager>class loop_value_template_action<sound_handle, fixed, sound_panning_manager>
- Modifies the property of a value 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
-
sound_panning_loop_action(sound_
handle handle, int duration_updates, fixed final_panning) - Constructor.
Public functions
-
auto handle() const -> sound_
handle - Returns the sound_
handle to modify. - auto final_panning() const -> fixed
- When the panning of the given sound_
handle is equal to this returned parameter, it goes back to its initial state and vice versa.
Function documentation
bn:: sound_panning_loop_action:: sound_panning_loop_action(sound_ handle handle,
int duration_updates,
fixed final_panning)
Constructor.
Parameters | |
---|---|
handle | sound_ |
duration_updates | How many times the action has to be updated before changing the direction of the panning delta. |
final_panning | When the panning of the given sound_ |