unreal.PassiveSoundMixModifier

class unreal.PassiveSoundMixModifier(sound_mix: SoundMix = Ellipsis, min_volume_threshold: float = 0.0, max_volume_threshold: float = 0.0)

Bases: StructBase

Structure containing information on a SoundMix to activate passively.

C++ Source:

  • Module: Engine

  • File: SoundClass.h

Editor Properties: (see get_editor_property/set_editor_property)

  • max_volume_threshold (float): [Read-Write] Maximum volume level required to activate SoundMix. Above this value the SoundMix will not be active.

  • min_volume_threshold (float): [Read-Write] Minimum volume level required to activate SoundMix. Below this value the SoundMix will not be active.

  • sound_mix (SoundMix): [Read-Write] The SoundMix to activate

property max_volume_threshold: float

[Read-Only] Maximum volume level required to activate SoundMix. Above this value the SoundMix will not be active.

Type:

(float)

property min_volume_threshold: float

[Read-Only] Minimum volume level required to activate SoundMix. Below this value the SoundMix will not be active.

Type:

(float)

property sound_mix: SoundMix

[Read-Only] The SoundMix to activate

Type:

(SoundMix)

property volume_threshold: float

‘volume_threshold’ was renamed to ‘min_volume_threshold’.

Type:

deprecated