max_count | :: uint32 | |
progress_threshold optional | :: float | If |
If | ||
volume_reduction_rate optional | :: float | Has to be greater than or equal to 0.0. |
Has to be greater than or equal to 0.0. | ||
remove | :: bool | If |
If | ||
count_already_playing optional | :: bool | If |
If | ||
priority optional | :: "closest" or "farthest" or "newest" or "oldest" |
max_count | :: uint32 | |
remove | :: bool | If |
If | ||
count_already_playing optional | :: bool | If |
If | ||
priority optional | :: "closest" or "farthest" or "newest" or "oldest" | |
progress_threshold optional | :: float | If |
If | ||
volume_reduction_rate optional | :: float | Has to be greater than or equal to 0.0. |
Has to be greater than or equal to 0.0. |
Default: 1.0
If count_already_playing
is true
, this will determine maximum progress when instance is counted toward playing sounds.
Default: 2.0
Has to be greater than or equal to 0.0.
If false
, the volume of sound instances above max_count
is calculated according to the formula volume = (x + 1) ^ (-volume_reduction_rate)
, where x
is the order number of an instance above the threshold.
If true
, sound instances above max_count
are removed.