Vixen
02b45cc4
csharp
public enum AttenuationModel

How a positioned sound gets quieter with distance.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (4)

  • None

    It does not. A sound that is as loud across the level as it is next to you.

  • Linear

    Straight down to silence at MaxDistance, which is the only model that actually reaches zero.

  • Inverse

    Halving every time the distance doubles — the inverse-square law as a pressure amplitude.

  • Exponential

    (d / min)^-rolloff. Steeper than inverse for rolloff above one, gentler below.

Used by (11)

  • AudioEventSpatialAssetVixen.Audio
  • AudioEventSystemTestsVixen.Audio.Tests
  • AudioEventTestsVixen.Audio.Tests
  • AudioSpatialVixen.Audio
  • SpatialSettingsVixen.Audio
  • SpatializerVixen.Audio
  • SpatializerTestsVixen.Audio.Tests
  • SurroundTestsVixen.Audio.Tests
  • TypeRegistrationVixen.Audio
  • Vixen_Audio_Assets_AudioEventSpatialAssetSerializerVixen.Audio
  • Vixen_Audio_Ecs_AudioSpatialSerializerVixen.Audio