unreal.SoundConcurrencySettings
¶
- class unreal.SoundConcurrencySettings(max_count=16, limit_to_owner=False, resolution_rule=MaxConcurrentResolutionRule.STOP_FARTHEST_THEN_OLDEST, retrigger_time=0.0, volume_scale_mode=ConcurrencyVolumeScaleMode.DEFAULT, volume_scale_attack_time=0.01, volume_scale_can_release=False, volume_scale_release_time=0.5, voice_steal_release_time=0.0)¶
Bases:
unreal.StructBase
Sound Concurrency Settings
C++ Source:
Module: Engine
File: SoundConcurrency.h
Editor Properties: (see get_editor_property/set_editor_property)
limit_to_owner
(bool): [Read-Write] Whether or not to limit the concurrency to per sound owner (i.e. the actor that plays the sound). If the sound doesn’t have an owner, it falls back to global concurrency.max_count
(int32): [Read-Write] The max number of allowable concurrent active voices for voices playing in this concurrency group.resolution_rule
(MaxConcurrentResolutionRule): [Read-Write] Which concurrency resolution policy to use if max voice count is reached.retrigger_time
(float): [Read-Write] Amount of time to wait (in seconds) between different sounds which play with this concurrency. Sounds rejected from this will ignore virtualization settings.voice_steal_release_time
(float): [Read-Write] Time taken to fade out if voice is evicted or culled due to another voice in the group starting.volume_scale
(float): [Read-Write] Ducking factor to apply per older voice instance (generation), which compounds based on scaling mode and (optionally) revives them as they stop according to the provided attack/release times.AppliedVolumeScale = Math.Pow(DuckingScale, VoiceGeneration)
volume_scale_attack_time
(float): [Read-Write] Time taken to apply duck using volume scalar.volume_scale_can_release
(bool): [Read-Write] Whether or not volume scaling can recover volume ducking behavior when concurrency group sounds stop (default scale mode only).volume_scale_mode
(ConcurrencyVolumeScaleMode): [Read-Write] Volume Scale mode designating how to scale voice volume based on number of member sounds active in group.volume_scale_release_time
(float): [Read-Write] Time taken to recover volume scalar duck.
- property limit_to_owner¶
[Read-Write] Whether or not to limit the concurrency to per sound owner (i.e. the actor that plays the sound). If the sound doesn’t have an owner, it falls back to global concurrency.
- Type
(bool)
- property max_count¶
[Read-Write] The max number of allowable concurrent active voices for voices playing in this concurrency group.
- Type
(int32)
- property resolution_rule¶
[Read-Write] Which concurrency resolution policy to use if max voice count is reached.
- Type
- property retrigger_time¶
[Read-Write] Amount of time to wait (in seconds) between different sounds which play with this concurrency. Sounds rejected from this will ignore virtualization settings.
- Type
(float)
- property voice_steal_release_time¶
[Read-Write] Time taken to fade out if voice is evicted or culled due to another voice in the group starting.
- Type
(float)
- property volume_scale_attack_time¶
[Read-Write] Time taken to apply duck using volume scalar.
- Type
(float)
- property volume_scale_can_release¶
[Read-Write] Whether or not volume scaling can recover volume ducking behavior when concurrency group sounds stop (default scale mode only).
- Type
(bool)
- property volume_scale_mode¶
[Read-Write] Volume Scale mode designating how to scale voice volume based on number of member sounds active in group.
- Type