Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AudioRolloffMode

Description

Rolloff modes that a 3D sound can have in an audio source.

Variables

LogarithmicUse this mode when you want a real-world rolloff.
LinearUse this mode when you want to lower the volume of your sound over the distance.
CustomUse this when you want to use a custom rolloff.