unreal.SoundVariation

class unreal.SoundVariation(sound_wave=None, probability_weight=1.0, volume_range=[1.0, 1.0], pitch_range=[1.0, 1.0])

Bases: unreal.StructBase

Sound Variation

C++ Source:

  • Plugin: SoundUtilities

  • Module: SoundUtilities

  • File: SoundSimple.h

Editor Properties: (see get_editor_property/set_editor_property)

  • pitch_range (Vector2D): [Read-Write] The pitch range to use for this variation

  • probability_weight (float): [Read-Write] The probability weight to use for this variation

  • sound_wave (SoundWave): [Read-Write] The sound wave asset to use for this variation

  • volume_range (Vector2D): [Read-Write] The volume range to use for this variation

property pitch_range

[Read-Write] The pitch range to use for this variation

Type

(Vector2D)

property probability_weight

[Read-Write] The probability weight to use for this variation

Type

(float)

property sound_wave

[Read-Write] The sound wave asset to use for this variation

Type

(SoundWave)

property volume_range

[Read-Write] The volume range to use for this variation

Type

(Vector2D)