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
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