unreal.SoundVariation

class unreal.SoundVariation(sound_wave: SoundWave = Ellipsis, probability_weight: float = 0.0, volume_range: Vector2D = Ellipsis, pitch_range: Vector2D = Ellipsis)

Bases: 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: Vector2D

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

Type:

(Vector2D)

property probability_weight: float

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

Type:

(float)

property sound_wave: SoundWave

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

Type:

(SoundWave)

property volume_range: Vector2D

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

Type:

(Vector2D)