class
#include <bn_sound_actions.h>
sound_panning_to_action Modifies the panning of a sound effect until it has a given state.
Base classes
-
template<typename Value, typename Property, class PropertyManager>class to_value_template_action<sound_handle, fixed, sound_panning_manager>
- Modifies the property of a value until it has a given state.
Constructors, destructors, conversion operators
-
sound_panning_to_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
- Returns the panning of the given sound_
handle when the action is updated the given number of times.
Function documentation
bn:: sound_panning_to_action:: sound_panning_to_action(sound_ handle handle,
int duration_updates,
fixed final_panning)
Constructor.
Parameters | |
---|---|
handle | sound_ |
duration_updates | Number of times that the action must be updated until the panning of the given sound_ |
final_panning | Panning when the action is updated duration_updates times. |