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] Max Volume Threshold: Maximum volume level required to activate SoundMix. Above this value the SoundMix will not be active.

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

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

property max_volume_threshold: float

[Read-Only] Max Volume Threshold: 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] Min Volume Threshold: Minimum volume level required to activate SoundMix. Below this value the SoundMix will not be active.

Type:

(float)

property sound_mix: SoundMix

[Read-Only] Sound Mix: The SoundMix to activate

Type:

(SoundMix)

property volume_threshold: float

‘volume_threshold’ was renamed to ‘min_volume_threshold’.

Type:

deprecated